From e97e7c6010bb9604b9f8bde6f485b403f21a5160 Mon Sep 17 00:00:00 2001 From: jignyasamishra Date: Mon, 8 Jan 2024 14:39:09 +0530 Subject: [PATCH] enhanced FailedCreate condition Signed-off-by: jignyasamishra --- pkg/kapp/resourcesmisc/apps_v1_deployment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kapp/resourcesmisc/apps_v1_deployment.go b/pkg/kapp/resourcesmisc/apps_v1_deployment.go index 322a115b4..10e5f9f8d 100644 --- a/pkg/kapp/resourcesmisc/apps_v1_deployment.go +++ b/pkg/kapp/resourcesmisc/apps_v1_deployment.go @@ -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)} } }