Skip to content

Commit

Permalink
fix(k8s): quit support on k8s progress bar (#4021)
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <hen.keinan@gmail.com>
  • Loading branch information
chen-keinan committed Apr 13, 2023
1 parent a6b8642 commit 2c3b60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/k8s/scanner/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (s *Scanner) Scan(ctx context.Context, artifactsData []*artifacts.Artifact)
return nil
}

p := parallel.NewPipeline(s.opts.Parallel, true, artifactsData, onItem, onResult)
p := parallel.NewPipeline(s.opts.Parallel, s.opts.Quiet, artifactsData, onItem, onResult)
err = p.Do(ctx)
if err != nil {
return report.Report{}, err
Expand Down

0 comments on commit 2c3b60f

Please sign in to comment.