kubelet/cadvisor: Refactor cadvisor disk stat/usage interfaces
This commit is contained in:
@@ -99,7 +99,7 @@ func containerRuntime() error {
|
||||
}
|
||||
|
||||
// Setup cadvisor to check the container environment
|
||||
c, err := cadvisor.New(0 /*don't start the http server*/)
|
||||
c, err := cadvisor.New(0 /*don't start the http server*/, "docker")
|
||||
if err != nil {
|
||||
return printError("Container Runtime Check: %s Could not start cadvisor %v", failed, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user