Skip to content

Commit

Permalink
do not prompt to continue if there are no changes to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
cppforlife committed Jul 23, 2019
1 parent 13c8509 commit 2e3b8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kapp/cmd/app/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func (o *DeployOptions) Run() error {
return err
}

if o.DiffFlags.Run {
if o.DiffFlags.Run || len(clusterChanges) == 0 {
return nil
}

Expand Down

0 comments on commit 2e3b8a3

Please sign in to comment.