Skip to content

Commit

Permalink
🧹 Do not log full asset. (#1202)
Browse files Browse the repository at this point in the history
Signed-off-by: Preslav <[email protected]>
  • Loading branch information
preslavgerchev authored Mar 27, 2024
1 parent 27ac864 commit 880b016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion policy/scan/local_scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ func (s *LocalScanner) distributeJob(job *Job, ctx context.Context, upstream *up
asset := batch[i].Asset
runtime := batch[i].Runtime

log.Debug().Interface("asset", asset).Msg("start scan")
log.Debug().Interface("platform", asset.Platform).Str("name", asset.Name).Msg("start scan")

// Make sure the context has not been canceled in the meantime. Note that this approach works only for single threaded execution. If we have more than 1 thread calling this function,
// we need to solve this at a different level.
Expand Down

0 comments on commit 880b016

Please sign in to comment.