Skip to content

Commit

Permalink
fix(k8s): fix quiet flag (aquasecurity#4120)
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 25, 2023
1 parent 9bc3269 commit a00d00e
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, s.opts.Quiet, 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 a00d00e

Please sign in to comment.