Skip to content

Commit

Permalink
Fix inputs logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Olshevski committed Jan 10, 2025
1 parent edbf5b3 commit 448586a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controllers/watchdog/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (c *watchdogController) waitingOnInputs(comp *apiv1.Composition) bool {
syn := &apiv1.Synthesizer{}
syn.Name = comp.Spec.Synthesizer.Name
err := c.client.Get(context.Background(), client.ObjectKeyFromObject(syn), syn)
return err == nil && (!comp.InputsExist(syn) || !comp.InputsOutOfLockstep(syn))
return err == nil && (!comp.InputsExist(syn) || comp.InputsOutOfLockstep(syn))
}

func (c *watchdogController) pendingReconciliation(comp *apiv1.Composition) bool {
Expand Down

0 comments on commit 448586a

Please sign in to comment.