summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-01-18 11:49:14 -0500
committerMatthew Heon <matthew.heon@gmail.com>2018-01-18 11:49:14 -0500
commit49378c055ad677505a358b4e0572ec235dbde6e4 (patch)
tree568759fb6b83f9cfa9d2c2b1c6c75883be751454 /libpod/container.go
parent4f2bf5ba1c27d686c0405e008a07d642d5a1e510 (diff)
downloadpodman-49378c055ad677505a358b4e0572ec235dbde6e4.tar.gz
podman-49378c055ad677505a358b4e0572ec235dbde6e4.tar.bz2
podman-49378c055ad677505a358b4e0572ec235dbde6e4.zip
Rename containerRuntimeInfo to containerState for clarity
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'libpod/container.go')
-rw-r--r--libpod/container.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpod/container.go b/libpod/container.go
index 996f79ea4..4170ea443 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -93,7 +93,7 @@ type Container struct {
runningSpec *spec.Spec
- state *containerRuntimeInfo
+ state *containerState
// Locked indicates that a container has been locked as part of a
// Batch() operation
@@ -109,9 +109,9 @@ type Container struct {
// TODO enable pod support
// TODO Add readonly support
-// containerRuntimeInfo contains the current state of the container
+// containerState contains the current state of the container
// It is stored on disk in a tmpfs and recreated on reboot
-type containerRuntimeInfo struct {
+type containerState struct {
// The current state of the running container
State ContainerStatus `json:"state"`
// The path to the JSON OCI runtime spec for this container