chore(deps): bump github.com/aquasecurity/trivy from 0.50.1 to 0.51.1 (#1912)
Bumps [github.com/aquasecurity/trivy](https://github.com/aquasecurity/trivy) from 0.50.1 to 0.51.1. - [Release notes](https://github.com/aquasecurity/trivy/releases) - [Changelog](https://github.com/aquasecurity/trivy/blob/main/goreleaser.yml) - [Commits](https://github.com/aquasecurity/trivy/compare/v0.50.1...v0.51.1) --- updated-dependencies: - dependency-name: github.com/aquasecurity/trivy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -40,10 +40,7 @@ func DetectLibsCves(r *models.ScanResult, trivyOpts config.TrivyOpts, logOpts lo
|
||||
}
|
||||
|
||||
// initialize trivy's logger and db
|
||||
err = log.InitLogger(logOpts.Debug, logOpts.Quiet)
|
||||
if err != nil {
|
||||
return xerrors.Errorf("Failed to init trivy logger. err: %w", err)
|
||||
}
|
||||
log.InitLogger(logOpts.Debug, logOpts.Quiet)
|
||||
|
||||
logging.Log.Info("Updating library db...")
|
||||
if err := downloadDB("", trivyOpts, noProgress, false); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user