Skip to content

Commit

Permalink
when apply fails due to changes still being present; use those diffs …
Browse files Browse the repository at this point in the history
…for the status
  • Loading branch information
Rebecca Skinner committed Dec 19, 2016
1 parent ba4b948 commit d420f95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apply/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ func (g *pipelineGen) maybeRunFinalCheck(ctx context.Context, resultI interface{
}
result.PostCheck = planned.Status
if planned.HasChanges() {
result.Status = planned.Status
if result.Err != nil {
result.Err = errors.Wrap(result.Err, fmt.Sprintf("%s still has changes after apply", g.ID))
} else {
Expand Down

0 comments on commit d420f95

Please sign in to comment.