chore(go.mod): fix dependabot alerts (#1466)

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani
2023-05-23 00:14:43 -07:00
committed by GitHub
parent c0170b0811
commit 83ae1aad70
3 changed files with 32 additions and 35 deletions
+1 -1
View File
@@ -372,7 +372,7 @@ func (scanner Scanner) updateDB(dbDir string) error {
ctx := context.Background()
err := operation.DownloadDB(ctx, "dev", dbDir, scanner.dbRepository, false, false,
fanalTypes.RemoteOptions{Insecure: false})
fanalTypes.RegistryOptions{Insecure: false})
if err != nil {
scanner.log.Error().Err(err).Str("dbDir", dbDir).Msg("Error downloading Trivy DB to destination dir")