mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +08:00
chore(go.mod): fix dependabot alerts (#1466)
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
committed by
GitHub
parent
c0170b0811
commit
83ae1aad70
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user