Merge pull request #1801 from rhatdan/subscription
Drop warning to info on missing content from mounts.conf
This commit is contained in:
commit
b2968c054e
|
|
@ -231,7 +231,7 @@ func addSubscriptionsFromMountsFile(filePath, mountLabel, containerRunDir string
|
||||||
fileInfo, err := os.Stat(hostDirOrFile)
|
fileInfo, err := os.Stat(hostDirOrFile)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if errors.Is(err, os.ErrNotExist) {
|
if errors.Is(err, os.ErrNotExist) {
|
||||||
logrus.Warnf("Path %q from %q doesn't exist, skipping", hostDirOrFile, filePath)
|
logrus.Infof("Path %q from %q doesn't exist, skipping", hostDirOrFile, filePath)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue