From 72cf0c81e86435c1c8daed9bff183b20d6bc400c Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Wed, 19 Jun 2019 11:13:18 +0200 Subject: libpod: use pkg/cgroups instead of containerd/cgroups use the new implementation for dealing with cgroups. Signed-off-by: Giuseppe Scrivano --- libpod/container_internal.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libpod/container_internal.go') diff --git a/libpod/container_internal.go b/libpod/container_internal.go index 2687bcdd1..fcd6a990a 100644 --- a/libpod/container_internal.go +++ b/libpod/container_internal.go @@ -1461,13 +1461,6 @@ func (c *Container) unmount(force bool) error { return nil } -// getExcludedCGroups returns a string slice of cgroups we want to exclude -// because runc or other components are unaware of them. -func getExcludedCGroups() (excludes []string) { - excludes = []string{"rdma"} - return -} - // this should be from chrootarchive. func (c *Container) copyWithTarFromImage(src, dest string) error { mountpoint, err := c.mount() -- cgit v1.2.3-54-g00ecf