Merge pull request #2167 from nekop/lower-loglevel-cgroups-read-file
Change log level to warning instead of error when cgroups file read f…
This commit is contained in:
commit
634fb4bb86
@ -134,7 +134,7 @@ func readString(dirpath string, file string) string {
|
||||
if err != nil {
|
||||
// Ignore non-existent files
|
||||
if !os.IsNotExist(err) {
|
||||
klog.Errorf("readString: Failed to read %q: %s", cgroupFile, err)
|
||||
klog.Warningf("readString: Failed to read %q: %s", cgroupFile, err)
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user