aboutsummaryrefslogtreecommitdiff
path: root/libpod/define
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2020-09-22 11:43:02 -0400
committerMatthew Heon <mheon@redhat.com>2020-09-25 11:00:52 -0400
commit29215ec523a1d7464cd39b7c68cb12d1734bcc1d (patch)
tree38e5443dd37f58cac2febb5eb3d10a8610c347bf /libpod/define
parentbcd5128207fa60a24064c8f97c45fabd85fc231a (diff)
downloadpodman-29215ec523a1d7464cd39b7c68cb12d1734bcc1d.tar.gz
podman-29215ec523a1d7464cd39b7c68cb12d1734bcc1d.tar.bz2
podman-29215ec523a1d7464cd39b7c68cb12d1734bcc1d.zip
Include cgroup manager in `podman info` output
This is very useful for debugging cgroups v2, especially on rootless - we need to ensure people are correctly using systemd cgroups in these cases. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/define')
-rw-r--r--libpod/define/info.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/define/info.go b/libpod/define/info.go
index 47c53d067..f0e05801c 100644
--- a/libpod/define/info.go
+++ b/libpod/define/info.go
@@ -15,6 +15,7 @@ type Info struct {
type HostInfo struct {
Arch string `json:"arch"`
BuildahVersion string `json:"buildahVersion"`
+ CgroupManager string `json:"cgroupManager"`
CGroupsVersion string `json:"cgroupVersion"`
Conmon *ConmonInfo `json:"conmon"`
CPUs int `json:"cpus"`