mirror of
https://github.com/anchore/syft.git
synced 2025-11-18 08:53:15 +01:00
ensure file content cataloger is using the proper scope
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
parent
b5d4b2f7b2
commit
cd542bab5b
@ -198,7 +198,7 @@ func catalogContentsTask() (powerUserTask, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
task := func(results *poweruser.JSONDocumentConfig, src source.Source) error {
|
task := func(results *poweruser.JSONDocumentConfig, src source.Source) error {
|
||||||
resolver, err := src.FileResolver(appConfig.Contents.Cataloger.ScopeOpt)
|
resolver, err := src.FileResolver(appConfig.FileContents.Cataloger.ScopeOpt)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user