aboutsummaryrefslogtreecommitdiff
path: root/libpod/define
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2021-11-24 10:34:47 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2021-11-24 14:50:12 +0100
commita66f40b4df039e94572fa38c070207a435cfa466 (patch)
tree8c11e52437ef0571846b0c53a582ce0d2ff7fdb0 /libpod/define
parentb25b330306782019d7aaf7618cd4598a9ae87250 (diff)
downloadpodman-a66f40b4df039e94572fa38c070207a435cfa466.tar.gz
podman-a66f40b4df039e94572fa38c070207a435cfa466.tar.bz2
podman-a66f40b4df039e94572fa38c070207a435cfa466.zip
libpod, inspect: export cgroup path
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod/define')
-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