diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-02-25 21:57:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-25 21:57:42 +0100 |
commit | cf521449e5d11813571c5e9b86668fbefdd5aa99 (patch) | |
tree | 59fd18a92ea2bc40cb3cf16c9cd6a0f178b74e65 /cmd/podman/shared/pod.go | |
parent | e45c44208067f4ac26c5136842d5a17478f5234c (diff) | |
parent | 43a1686598c92c9e2a839909b8b5edb9f1b0f00f (diff) | |
download | podman-cf521449e5d11813571c5e9b86668fbefdd5aa99.tar.gz podman-cf521449e5d11813571c5e9b86668fbefdd5aa99.tar.bz2 podman-cf521449e5d11813571c5e9b86668fbefdd5aa99.zip |
Merge pull request #2422 from baude/remotepodcreate
podman-remote create|ps
Diffstat (limited to 'cmd/podman/shared/pod.go')
-rw-r--r-- | cmd/podman/shared/pod.go | 4 |
1 files changed, 4 insertions, 0 deletions
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 |