Skip to content

Commit 5fb3906

Browse files
committed
Fix condition check
1 parent ed8bd35 commit 5fb3906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/deployment/deployment_inspector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ func (d *Deployment) isUpToDateStatus(mode api.DeploymentMode, status api.Deploy
486486
return
487487
}
488488

489-
if !status.Conditions.Check(api.ConditionTypeGatewayConfig).Exists().IsTrue().Evaluate() {
489+
if v, ok := status.Conditions.Get(api.ConditionTypeGatewayConfig); ok && !v.IsTrue() {
490490
upToDate = false
491491
reason = "Gateway is not propagated"
492492
return

0 commit comments

Comments
 (0)