Add missing bool

This commit is contained in:
Arnaud 2026-01-12 17:46:59 +04:00
parent e0242c07c6
commit 8f11914e57
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F

View File

@ -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"