rename Contents to FileContents in app config and documentation

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
Alex Goodman
2021-04-12 17:34:54 -04:00
parent 44915b435f
commit 51b13f8221
6 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -188,11 +188,11 @@ func catalogFileClassificationsTask() (powerUserTask, error) {
}
func catalogContentsTask() (powerUserTask, error) {
if !appConfig.Contents.Cataloger.Enabled {
if !appConfig.FileContents.Cataloger.Enabled {
return nil, nil
}
contentsCataloger, err := file.NewContentsCataloger(appConfig.Contents.Globs, appConfig.Contents.SkipFilesAboveSize)
contentsCataloger, err := file.NewContentsCataloger(appConfig.FileContents.Globs, appConfig.FileContents.SkipFilesAboveSize)
if err != nil {
return nil, err
}