Merge pull request #28755 from dubstack/remove-systemd-check

Automatic merge from submit-queue

Do not skip check for cgroup creation in the systemd mount

As soon as libcontainer dependency is update in #28410, we can skip check for cgroup creation in the systemd mount. As the latest version of libcontainer should create cgroups in the sytemd mount aswell.

This is tied to the upstream issue: #27204

@vishh PTAL
This commit is contained in:
k8s-merge-robot 2016-07-18 15:05:51 -07:00 committed by GitHub
commit 1d8c15ba14

View File

@ -54,10 +54,8 @@ func (m *cgroupManagerImpl) Exists(name string) bool {
}
// If even one cgroup doesn't exist we go on to create it
// @TODO(dubstack) We skip check for systemd until we update
// libcontainer in vendor
for key, path := range cgroupPaths {
if key != "systemd" && !libcontainercgroups.PathExists(path) {
for _, path := range cgroupPaths {
if !libcontainercgroups.PathExists(path) {
return false
}
}