From 503a8925d231ef8332e58c027c727ca466954863 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Wed, 12 Mar 2025 16:05:16 +0100 Subject: [PATCH] builder: return error if a node fails to boot Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- builder/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/builder.go b/builder/builder.go index bd2058ad..d82af210 100644 --- a/builder/builder.go +++ b/builder/builder.go @@ -200,7 +200,7 @@ func (b *Builder) Boot(ctx context.Context) (bool, error) { err = err1 } - if err == nil && len(errCh) == len(toBoot) { + if err == nil && len(errCh) > 0 { return false, <-errCh } return true, err