Merge pull request #705 from yamt/cg

Appease kubelet warnings on docker for mac
pull/741/head
Darren Shepherd 5 years ago committed by GitHub
commit 99716deb08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -176,6 +176,8 @@ func checkCgroups() (root string, hasCFS bool, hasPIDs bool) {
i := strings.LastIndex(last, ".slice")
if i > 0 {
root = "/systemd" + last[:i+len(".slice")]
} else {
root = "/systemd"
}
}
}

Loading…
Cancel
Save