summaryrefslogtreecommitdiff
path: root/libpod/define/container_inspect.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-25 11:59:09 +0100
committerGitHub <noreply@github.com>2021-11-25 11:59:09 +0100
commit12f73d5f88d8646058bbb4e673b04b413732dbe2 (patch)
tree479aaf581154a1b9b8fffa8f45473aa11e45929d /libpod/define/container_inspect.go
parent93138541f3119b81c170e5ce904a8c4e6cece842 (diff)
parente648122b2986ea3bdcee33ebaef8731e574e8f54 (diff)
downloadpodman-12f73d5f88d8646058bbb4e673b04b413732dbe2.tar.gz
podman-12f73d5f88d8646058bbb4e673b04b413732dbe2.tar.bz2
podman-12f73d5f88d8646058bbb4e673b04b413732dbe2.zip
Merge pull request #12403 from giuseppe/improve-cgroup-detection
libpod: improve heuristic to detect cgroup
Diffstat (limited to 'libpod/define/container_inspect.go')
-rw-r--r--libpod/define/container_inspect.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/define/container_inspect.go b/libpod/define/container_inspect.go
index 8e07cff81..677b39218 100644
--- a/libpod/define/container_inspect.go
+++ b/libpod/define/container_inspect.go
@@ -204,6 +204,7 @@ type InspectContainerState struct {
FinishedAt time.Time `json:"FinishedAt"`
Health HealthCheckResults `json:"Health,omitempty"`
Checkpointed bool `json:"Checkpointed,omitempty"`
+ CgroupPath string `json:"CgroupPath,omitempty"`
}
// Healthcheck returns the HealthCheckResults. This is used for old podman compat