summaryrefslogtreecommitdiff
path: root/pkg/cgroups/memory.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-10 14:50:04 +0200
committerGitHub <noreply@github.com>2019-07-10 14:50:04 +0200
commitcef566306c9132c610cdd028f7e5035433c12798 (patch)
treeff42b12fb448ad05e1381bb1f7bc38106dadc29a /pkg/cgroups/memory.go
parent551edd287e7cb31327d18c3ebc0d2e6b1160c235 (diff)
parentb0c2bb996276a706585d1a3eebcaa0b687715b5a (diff)
downloadpodman-cef566306c9132c610cdd028f7e5035433c12798.tar.gz
podman-cef566306c9132c610cdd028f7e5035433c12798.tar.bz2
podman-cef566306c9132c610cdd028f7e5035433c12798.zip
Merge pull request #3506 from giuseppe/cgroup2-improvements
cgroups: support creating cgroupsv2 paths
Diffstat (limited to 'pkg/cgroups/memory.go')
-rw-r--r--pkg/cgroups/memory.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/cgroups/memory.go b/pkg/cgroups/memory.go
index 0505eac40..80e88d17c 100644
--- a/pkg/cgroups/memory.go
+++ b/pkg/cgroups/memory.go
@@ -26,7 +26,7 @@ func (c *memHandler) Apply(ctr *CgroupControl, res *spec.LinuxResources) error {
// Create the cgroup
func (c *memHandler) Create(ctr *CgroupControl) (bool, error) {
if ctr.cgroup2 {
- return false, fmt.Errorf("memory create not implemented for cgroup v2")
+ return false, nil
}
return ctr.createCgroupDirectory(Memory)
}