Unverified Commit ede43880 authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #69313 from sjenning/crio-socket-update

kubelet: fix cri-o when using unix prefix
parents dc239741 7a12ac10
......@@ -76,5 +76,5 @@ func EphemeralStorageCapacityFromFsInfo(info cadvisorapi2.FsInfo) v1.ResourceLis
// UsingLegacyCadvisorStats returns true if container stats are provided by cadvisor instead of through the CRI
func UsingLegacyCadvisorStats(runtime, runtimeEndpoint string) bool {
return (runtime == kubetypes.DockerContainerRuntime && goruntime.GOOS == "linux") ||
runtimeEndpoint == CrioSocket
runtimeEndpoint == CrioSocket || runtimeEndpoint == "unix://"+CrioSocket
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment