aboutsummaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-11-20 15:43:56 -0500
committerMatthew Heon <matthew.heon@gmail.com>2017-11-20 16:24:28 -0500
commit51fc8827f54436864924ea8d4dc96111da81e5bf (patch)
tree312ed45344f42d0c16ef7b0cb5fecd1316d20f0b /libpod/container.go
parent5d52f74d2136786c2874898ad373808e25609545 (diff)
downloadpodman-51fc8827f54436864924ea8d4dc96111da81e5bf.tar.gz
podman-51fc8827f54436864924ea8d4dc96111da81e5bf.tar.bz2
podman-51fc8827f54436864924ea8d4dc96111da81e5bf.zip
Add tests for SQL-backed state impl
Minor changes to container.go and sql_state.go to fix issues identified by the tests Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
Diffstat (limited to 'libpod/container.go')
-rw-r--r--libpod/container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container.go b/libpod/container.go
index ffc4c6314..728a29dec 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -67,7 +67,7 @@ type containerRuntimeInfo struct {
RunDir string `json:"runDir,omitempty"`
// Mounted indicates whether the container's storage has been mounted
// for use
- Mounted bool `json:"-"`
+ Mounted bool `json:"mounted,omitempty"`
// MountPoint contains the path to the container's mounted storage
Mountpoint string `json:"mountPoint,omitempty"`
// StartedTime is the time the container was started