Skip to content

Commit

Permalink
Fix faulty SBOM param name change (#26636)
Browse files Browse the repository at this point in the history
  • Loading branch information
vboulineau committed Jun 12, 2024
1 parent bdaa549 commit 843e951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/trivy/trivy.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func NewCollector(cfg config.Component, wmeta optional.Option[workloadmeta.Compo
return &Collector{
config: collectorConfig{
clearCacheOnClose: cfg.GetBool("sbom.clear_cache_on_exit"),
maxCacheSize: cfg.GetInt("sbom.persistentCache.max_disk_size"),
maxCacheSize: cfg.GetInt("sbom.cache.max_disk_size"),
overlayFSSupport: cfg.GetBool("sbom.container_image.overlayfs_direct_scan"),
},
osScanner: ospkg.NewScanner(),
Expand Down

0 comments on commit 843e951

Please sign in to comment.