From 2e3b8a33b3d36ad47dd28fcde08ca587f9743e0d Mon Sep 17 00:00:00 2001 From: Dmitriy Kalinin Date: Tue, 23 Jul 2019 16:50:43 -0700 Subject: [PATCH] do not prompt to continue if there are no changes to deploy --- pkg/kapp/cmd/app/deploy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kapp/cmd/app/deploy.go b/pkg/kapp/cmd/app/deploy.go index efcf022af..ea2117824 100644 --- a/pkg/kapp/cmd/app/deploy.go +++ b/pkg/kapp/cmd/app/deploy.go @@ -152,7 +152,7 @@ func (o *DeployOptions) Run() error { return err } - if o.DiffFlags.Run { + if o.DiffFlags.Run || len(clusterChanges) == 0 { return nil }