aboutsummaryrefslogtreecommitdiff
path: root/libpod/container_inspect.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-10-31 22:39:01 +0100
committerGitHub <noreply@github.com>2019-10-31 22:39:01 +0100
commit95b2fd6c273ded741614665644c431a1c7831a70 (patch)
treee09c845896ba74942de8ec13e4404df393f374a5 /libpod/container_inspect.go
parenta15a20d3c5898017e1549028fd8960d421240918 (diff)
parent28ad43940f3bfca3870a5450342c4b79c6a2f60f (diff)
downloadpodman-95b2fd6c273ded741614665644c431a1c7831a70.tar.gz
podman-95b2fd6c273ded741614665644c431a1c7831a70.tar.bz2
podman-95b2fd6c273ded741614665644c431a1c7831a70.zip
Merge pull request #4403 from mheon/cherrypick_163
Cherrypicks for v1.6.3 final
Diffstat (limited to 'libpod/container_inspect.go')
-rw-r--r--libpod/container_inspect.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/container_inspect.go b/libpod/container_inspect.go
index d28d37937..66aca23ed 100644
--- a/libpod/container_inspect.go
+++ b/libpod/container_inspect.go
@@ -1322,9 +1322,9 @@ func (c *Container) generateInspectContainerHostConfig(ctrSpec *spec.Spec, named
// Need to check if it's the default, and not print if so.
defaultCgroupParent := ""
switch c.runtime.config.CgroupManager {
- case CgroupfsCgroupsManager:
+ case define.CgroupfsCgroupsManager:
defaultCgroupParent = CgroupfsDefaultCgroupParent
- case SystemdCgroupsManager:
+ case define.SystemdCgroupsManager:
defaultCgroupParent = SystemdDefaultCgroupParent
}
if c.config.CgroupParent != defaultCgroupParent {