Skip to content

Commit

Permalink
enhanced FailedCreate condition
Browse files Browse the repository at this point in the history
Signed-off-by: jignyasamishra <iamjignyasa@gmail.com>
  • Loading branch information
jignyasamishra committed Jan 8, 2024
1 parent b58f4bd commit e97e7c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kapp/resourcesmisc/apps_v1_deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (s AppsV1Deployment) IsDoneApplying() DoneApplyState {

case "FailedCreate":
if cond.Status == corev1.ConditionTrue {
return DoneApplyState{Done: true, Successful: false, Message: fmt.Sprintf(
return DoneApplyState{Done: false, Successful: false, Message: fmt.Sprintf(
"Deployment failed to create pods: %s (message: %s)", cond.Reason, cond.Message)}
}
}
Expand Down

0 comments on commit e97e7c6

Please sign in to comment.