Skip to content

Commit

Permalink
why can i not boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Feb 23, 2024
1 parent 6aed0b3 commit 338ad23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/workflows/sync_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 338ad23

Please sign in to comment.