Skip to content

Commit

Permalink
booleans are hard, mucked around until I found an expression that mak…
Browse files Browse the repository at this point in the history
…es sense to read
  • Loading branch information
serprex committed Feb 28, 2024
1 parent 81b0259 commit 58cb685
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 @@ -179,7 +179,7 @@ func SyncFlowWorkflow(
}
})

for ctx.Err() == nil && (syncErr || !syncDone || selector.HasPending()) {
for ctx.Err() == nil && ((!syncDone && !syncErr) || selector.HasPending()) {
selector.Select(ctx)
}
if ctx.Err() != nil {
Expand Down

0 comments on commit 58cb685

Please sign in to comment.