From bdfcc19f86e8b7da0b611fd42633086e4ebc48e4 Mon Sep 17 00:00:00 2001 From: Robiiin Date: Mon, 11 Nov 2024 12:55:55 +0800 Subject: [PATCH] chore(k8s): enhance k8s scan log (#6997) Co-authored-by: afdesk --- pkg/k8s/commands/run.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/k8s/commands/run.go b/pkg/k8s/commands/run.go index 6a20d04aee10..1650cfa1446f 100644 --- a/pkg/k8s/commands/run.go +++ b/pkg/k8s/commands/run.go @@ -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)