From 022bb95c8ed5dae455e569fc109f7f67b4270efc Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Mon, 18 Mar 2019 19:45:05 +0100 Subject: Export ConmonPidFile in 'podman inspect' for containers This can help scripts provide a more meaningful message when coming across issues [1] which require the container to be re-created. [1] eg., https://github.com/containers/libpod/issues/2673 Signed-off-by: Debarshi Ray --- pkg/inspect/inspect.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/inspect') diff --git a/pkg/inspect/inspect.go b/pkg/inspect/inspect.go index 82fe37f18..270e431ad 100644 --- a/pkg/inspect/inspect.go +++ b/pkg/inspect/inspect.go @@ -158,6 +158,7 @@ type ContainerInspectData struct { HostsPath string `json:"HostsPath"` StaticDir string `json:"StaticDir"` LogPath string `json:"LogPath"` + ConmonPidFile string `json:"ConmonPidFile"` Name string `json:"Name"` RestartCount int32 `json:"RestartCount"` //TODO Driver string `json:"Driver"` -- cgit v1.2.3-54-g00ecf