Skip to content

Commit d299367

Browse files
authored
Merge pull request #188 from checkr/faster2
another optimization for faster success deployments
2 parents 60c95ee + c6819d7 commit d299367

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/plugins/kubedeploy/deployments.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,8 @@ func (x *KubeDeploy) doDeploy(e agent.Event) error {
790790
if successfulDeploys == len(deploymentServices) {
791791
break
792792
}
793+
// If this deployment has succeeded then we can skip the failure checks below.
794+
continue
793795
}
794796

795797
latestRevision := deployment.Annotations["deployment.kubernetes.io/revision"]

0 commit comments

Comments
 (0)