Skip to content

Commit

Permalink
fix: no status after canceled
Browse files Browse the repository at this point in the history
  • Loading branch information
23doors committed Nov 4, 2021
1 parent 2d5a77b commit a22e4e6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkg/actions/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,11 @@ func (d *Deploy) Run(ctx context.Context) error { // nolint: gocyclo
d.log.Printf("All changes applied in %s.\n", time.Since(start).Truncate(timeTruncate))
}

err = d.showStateStatus(appStates, dependencyStates)
if err != nil {
return err
if !canceled {
err = d.showStateStatus(appStates, dependencyStates)
if err != nil {
return err
}
}

return saveErr
Expand Down

0 comments on commit a22e4e6

Please sign in to comment.