Skip to content

Commit

Permalink
chore(k8s): enhance k8s scan log (#6997)
Browse files Browse the repository at this point in the history
Co-authored-by: afdesk <[email protected]>
  • Loading branch information
haojingcn and afdesk authored Nov 11, 2024
1 parent 611558e commit bdfcc19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/k8s/commands/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func (r *runner) run(ctx context.Context, artifacts []*k8sArtifacts.Artifact) er
r.flagOpts.ScanOptions.Scanners = scanners
}
var rpt report.Report
log.Info("Scanning K8s...", log.String("K8s", r.cluster))
rpt, err = s.Scan(ctx, artifacts)
if err != nil {
return xerrors.Errorf("k8s scan error: %w", err)
Expand Down

0 comments on commit bdfcc19

Please sign in to comment.