We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aacf08a commit 0e752b0Copy full SHA for 0e752b0
detector/library.go
@@ -89,7 +89,7 @@ func downloadDB(appVersion string, trivyOpts config.TrivyOpts, noProgress, skipU
89
if needsUpdate {
90
logging.Log.Info("Need to update DB")
91
logging.Log.Info("Downloading DB...")
92
- if err := client.Download(ctx, tirvyOpts.TrivyCacheDBDir, ftypes.RegistryOptions{}); err != nil {
+ if err := client.Download(ctx, trivyOpts.TrivyCacheDBDir, ftypes.RegistryOptions{}); err != nil {
93
return xerrors.Errorf("Failed to download vulnerability DB. err: %w", err)
94
}
95
0 commit comments