From 338ad23dedace6328394b2eb3f8018e71d17b06d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Fri, 23 Feb 2024 20:57:53 +0000 Subject: [PATCH] why can i not boolean --- flow/workflows/sync_flow.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/workflows/sync_flow.go b/flow/workflows/sync_flow.go index 567d772746..a3530d5337 100644 --- a/flow/workflows/sync_flow.go +++ b/flow/workflows/sync_flow.go @@ -194,7 +194,7 @@ func SyncFlowWorkflow( } }) - for ctx.Err() == nil && !syncDone && selector.HasPending() { + for ctx.Err() == nil && (!syncDone || selector.HasPending()) { selector.Select(ctx) } if ctx.Err() != nil {