Skip to content

Commit d9bb781

Browse files
authored
fix: Fix log message that leaks the secrets (#1215)
1 parent 33aa9f0 commit d9bb781

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/monaco/delete/delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func Delete(environments manifest.Environments, entriesToDelete delete.DeleteEnt
6565
}
6666

6767
if err := delete.Configs(ctx, deleteClients, classicAPIs, automationAPIs, entriesToDelete); err != nil {
68-
log.Error("Failed to delete all configurations from environment %q - check log for details", env)
68+
log.Error("Failed to delete all configurations from environment %q - check log for details", env.Name)
6969
envsWithDeleteErrs = append(envsWithDeleteErrs, env.Name)
7070
}
7171
}

0 commit comments

Comments
 (0)