Skip to content

Commit 0e752b0

Browse files
committed
Fix typo
1 parent aacf08a commit 0e752b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detector/library.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func downloadDB(appVersion string, trivyOpts config.TrivyOpts, noProgress, skipU
8989
if needsUpdate {
9090
logging.Log.Info("Need to update DB")
9191
logging.Log.Info("Downloading DB...")
92-
if err := client.Download(ctx, tirvyOpts.TrivyCacheDBDir, ftypes.RegistryOptions{}); err != nil {
92+
if err := client.Download(ctx, trivyOpts.TrivyCacheDBDir, ftypes.RegistryOptions{}); err != nil {
9393
return xerrors.Errorf("Failed to download vulnerability DB. err: %w", err)
9494
}
9595
}

0 commit comments

Comments
 (0)