mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-03-17 01:33:18 +00:00
Add missing bool
This commit is contained in:
parent
e0242c07c6
commit
8f11914e57
@ -216,6 +216,8 @@ proc stop*(s: CodexServer) {.async.} =
|
||||
|
||||
let res = await noCancel allFinishedFailed[void](futures)
|
||||
|
||||
s.isStarted = false
|
||||
|
||||
if res.failure.len > 0:
|
||||
error "Failed to stop Storage node", failures = res.failure.len
|
||||
raiseAssert "Failed to stop Storage node"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user