Skip to content

Commit

Permalink
Fixes from review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Roberts committed Apr 30, 2024
1 parent bb929a1 commit 6c2125f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
changes:
- type: fix
scope: cli/engine
description: "Fixes #15564, --expect-no-changes now causes pulumi cli to fail if the only changes are output changes"
description: "Make --expect-no-changes fail even if the only changes are output changes"
2 changes: 2 additions & 0 deletions pkg/cmd/pulumi/stack_history.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ func displayUpdatesJSON(updates []backend.UpdateInfo, decrypter config.Decrypter
info.EndTime = makeStringRef(time.Unix(update.EndTime, 0).UTC().Format(timeFormat))
resourceChanges := make(map[string]int)
for k, v := range update.ResourceChanges {
// Filter out the the OpOutputChange events because they are pseudo
// events that shouldn't be included in the stack history
if k != deploy.OpOutputChange {
resourceChanges[string(k)] = v
}
Expand Down

0 comments on commit 6c2125f

Please sign in to comment.