Skip to content

Commit

Permalink
🧹 Log the amount of assets we're synchronizing. (#1337)
Browse files Browse the repository at this point in the history
Signed-off-by: Preslav <preslav@mondoo.com>
  • Loading branch information
preslavgerchev authored Jun 21, 2024
1 parent c3fcc1d commit aa6c0e5
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 @@ -352,7 +352,7 @@ func (s *LocalScanner) distributeJob(job *Job, ctx context.Context, upstream *up
}
assetsToSync = append(assetsToSync, batch[i].Asset)
}

log.Debug().Int("assets", len(assetsToSync)).Msg("synchronizing assets upstream")
resp, err := services.SynchronizeAssets(ctx, &policy.SynchronizeAssetsReq{
SpaceMrn: spaceMrn,
List: assetsToSync,
Expand Down

0 comments on commit aa6c0e5

Please sign in to comment.