Skip to content

Commit a75205a

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

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
@@ -1097,7 +1097,7 @@ func (a *agent) handleManifest(manifestOK *checkpoint) func(ctx context.Context,
10971097
if err != nil {
10981098
return xerrors.Errorf("fetch metadata: %w", err)
10991099
}
1100-
a.logger.Info(ctx, "fetched manifest", slog.F("manifest", mp))
1100+
a.logger.Info(ctx, "fetched manifest")
11011101
manifest, err := agentsdk.ManifestFromProto(mp)
11021102
if err != nil {
11031103
a.logger.Critical(ctx, "failed to convert manifest", slog.F("manifest", mp), slog.Error(err))

0 commit comments

Comments
 (0)