mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 07:29:00 -08:00
feat(db): store metadata as a file (#464)
* refactor: wrap errors * feat(db): add the metadata file * test(db): re-generate mocks * fix(app): read metadata from the file in showVersion * fix: open the database after downloading it * fix(operation): use UpdateMetadata * chore(mod): update dependency * test(integration): fix tests * fix(conf): rename TRIVY_NONSSL to TRIVY_NON_SSL
This commit is contained in:
@@ -24,7 +24,7 @@ func initializeLibServer() *library.Server {
|
||||
return &library.Server{}
|
||||
}
|
||||
|
||||
func initializeDBWorker(quiet bool) dbWorker {
|
||||
func initializeDBWorker(cacheDir string, quiet bool) dbWorker {
|
||||
wire.Build(DBWorkerSuperSet)
|
||||
return dbWorker{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user