summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-08 09:56:23 +0200
committerGitHub <noreply@github.com>2021-09-08 09:56:23 +0200
commitae0a9c6c8acd4e675ce4afbff161f9e5857082e6 (patch)
tree85ccfae902261801ab73dee7536d9c5d4c7bc430 /libpod/container.go
parent598d914e625616da49df7c068ffd84135d12571e (diff)
parentbfcd83ecd680fccd2efeadf695a9cd2c603a997f (diff)
downloadpodman-ae0a9c6c8acd4e675ce4afbff161f9e5857082e6.tar.gz
podman-ae0a9c6c8acd4e675ce4afbff161f9e5857082e6.tar.bz2
podman-ae0a9c6c8acd4e675ce4afbff161f9e5857082e6.zip
Merge pull request #11471 from mheon/checkpointed
Add Checkpointed bool to Inspect
Diffstat (limited to 'libpod/container.go')
-rw-r--r--libpod/container.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/container.go b/libpod/container.go
index c57250d72..0986a0d80 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -159,6 +159,9 @@ type ContainerState struct {
// OOMKilled indicates that the container was killed as it ran out of
// memory
OOMKilled bool `json:"oomKilled,omitempty"`
+ // Checkpointed indicates that the container was stopped by a checkpoint
+ // operation.
+ Checkpointed bool `json:"checkpointed,omitempty"`
// PID is the PID of a running container
PID int `json:"pid,omitempty"`
// ConmonPID is the PID of the container's conmon