From cf1278071ae31e2c79b4bf77dc125fb081c0aff3 Mon Sep 17 00:00:00 2001 From: Kent Rancourt Date: Fri, 18 Oct 2024 21:06:17 -0400 Subject: [PATCH] fix: fix for deciding to wait for verification or skip to next promo (#2783) Signed-off-by: Kent Rancourt --- internal/controller/stages/stages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/stages/stages.go b/internal/controller/stages/stages.go index b744efbb3..fc0ad8554 100644 --- a/internal/controller/stages/stages.go +++ b/internal/controller/stages/stages.go @@ -1124,7 +1124,7 @@ func (r *reconciler) syncPromotions( if (status.Phase == kargoapi.StagePhaseSteady || status.Phase == kargoapi.StagePhaseVerifying) && status.FreightHistory.Current() != nil && len(status.FreightHistory.Current().VerificationHistory) == 0 && - status.Health != nil && status.Health.Status != kargoapi.HealthStateUnhealthy { + (status.Health == nil || status.Health.Status != kargoapi.HealthStateUnhealthy) { logger.WithValues().Debug("Stage is waiting for verification to start") return status, nil }