From 51fc8827f54436864924ea8d4dc96111da81e5bf Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Mon, 20 Nov 2017 15:43:56 -0500 Subject: 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 --- libpod/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpod/container.go') 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 -- cgit v1.2.3-54-g00ecf