Skip to content

Commit 127b6b7

Browse files
committed
Merged in master
1 parent 757589f commit 127b6b7

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
@@ -45,7 +45,7 @@ func (d *Deployment) inspectDeployment(lastInterval time.Duration) time.Duration
4545
ctx := context.Background()
4646

4747
// Is the deployment in failed state, if so, give up.
48-
if d.status.State == api.DeploymentStateFailed {
48+
if d.status.Phase == api.DeploymentPhaseFailed {
4949
log.Debug().Msg("Deployment is in Failed state.")
5050
return nextInterval
5151
}

0 commit comments

Comments
 (0)