ensure file content cataloger is using the proper scope

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman 2021-04-12 17:37:38 -04:00
parent b5d4b2f7b2
commit cd542bab5b
No known key found for this signature in database
GPG Key ID: 5CB45AE22BAB7EA7

View File

@ -198,7 +198,7 @@ func catalogContentsTask() (powerUserTask, 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 {
return err
}