Skip to content

Commit e2a4639

Browse files
fix: remove a sensitive field from an agent log line (#20968) (#20972)
Backport of #20968 Co-authored-by: Sas Swart <sas.swart.cdk@gmail.com>
1 parent aa5b22c commit e2a4639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/agent.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ func (a *agent) handleManifest(manifestOK *checkpoint) func(ctx context.Context,
10871087
if err != nil {
10881088
return xerrors.Errorf("fetch metadata: %w", err)
10891089
}
1090-
a.logger.Info(ctx, "fetched manifest", slog.F("manifest", mp))
1090+
a.logger.Info(ctx, "fetched manifest")
10911091
manifest, err := agentsdk.ManifestFromProto(mp)
10921092
if err != nil {
10931093
a.logger.Critical(ctx, "failed to convert manifest", slog.F("manifest", mp), slog.Error(err))

0 commit comments

Comments
 (0)