From 43a1686598c92c9e2a839909b8b5edb9f1b0f00f Mon Sep 17 00:00:00 2001 From: baude Date: Sat, 23 Feb 2019 19:36:19 -0600 Subject: podman-remote create|ps enable the podman-remote client to be able to create and list pods on a remote system. Signed-off-by: baude --- cmd/podman/shared/pod.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmd/podman/shared') diff --git a/cmd/podman/shared/pod.go b/cmd/podman/shared/pod.go index 30dd14845..5f65c40ac 100644 --- a/cmd/podman/shared/pod.go +++ b/cmd/podman/shared/pod.go @@ -26,6 +26,10 @@ func GetPodStatus(pod *libpod.Pod) (string, error) { if err != nil { return errored, err } + return CreatePodStatusResults(ctrStatuses) +} + +func CreatePodStatusResults(ctrStatuses map[string]libpod.ContainerStatus) (string, error) { ctrNum := len(ctrStatuses) if ctrNum == 0 { return created, nil -- cgit v1.2.3-54-g00ecf