vendor: Bump cAdvisor to v0.45.0

Signed-off-by: David Porter <david@porter.me>
This commit is contained in:
David Porter
2022-08-02 13:53:04 -07:00
parent 1a916f278b
commit d9fda8ab3b
37 changed files with 618 additions and 177 deletions

View File

@@ -210,7 +210,8 @@ func getSpecInternal(cgroupPaths map[string]string, machineInfoFactory info.Mach
if cgroup2UnifiedMode {
ioControllerName = "io"
}
if blkioRoot, ok := cgroupPaths[ioControllerName]; ok && utils.FileExists(blkioRoot) {
if blkioRoot, ok := GetControllerPath(cgroupPaths, ioControllerName, cgroup2UnifiedMode); ok && utils.FileExists(blkioRoot) {
spec.HasDiskIo = true
}