Skip to content

Commit

Permalink
fix(k8s): enhance k8s scan log
Browse files Browse the repository at this point in the history
Discussed in #6932
close #6996
  • Loading branch information
haojingcn authored Jun 22, 2024
1 parent 648ead9 commit e59b35d
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(nextline show the progress)...", 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 e59b35d

Please sign in to comment.