mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 15:37:50 -08:00
feat(aws): quiet flag support (#6331)
This commit is contained in:
@@ -132,10 +132,6 @@ func Run(ctx context.Context, opt flag.Options) error {
|
||||
ctx, cancel := context.WithTimeout(ctx, opt.GlobalOptions.Timeout)
|
||||
defer cancel()
|
||||
|
||||
if err := log.InitLogger(opt.Debug, false); err != nil {
|
||||
return xerrors.Errorf("logger error: %w", err)
|
||||
}
|
||||
|
||||
var err error
|
||||
defer func() {
|
||||
if errors.Is(err, context.DeadlineExceeded) {
|
||||
|
||||
Reference in New Issue
Block a user