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 12, 2024
1 parent 8ca27d4 commit 6ca6016
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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 psuedo

Check failure on line 166 in pkg/cmd/pulumi/stack_history.go

View workflow job for this annotation

GitHub Actions / CI / Lint / Lint Go

`psuedo` is a misspelling of `pseudo` (misspell)
// events that shouldn't be included in the stack history
if k != deploy.OpOutputChange {
resourceChanges[string(k)] = v
}
Expand Down
5 changes: 2 additions & 3 deletions tests/integration/integration_nodejs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -821,9 +821,8 @@ func TestStackReferenceSecretsNodejs(t *testing.T) {
Quick: true,
EditDirs: []integration.EditDir{
{
Dir: filepath.Join(d, "nodejs", "step2"),
Additive: true,
ExpectNoChanges: false,
Dir: filepath.Join(d, "nodejs", "step2"),
Additive: true,
ExtraRuntimeValidation: func(t *testing.T, stackInfo integration.RuntimeValidationStackInfo) {
_, isString := stackInfo.Outputs["refNormal"].(string)
assert.Truef(t, isString, "referenced non-secret output was not a string")
Expand Down

0 comments on commit 6ca6016

Please sign in to comment.