summaryrefslogtreecommitdiff
path: root/pkg/ps/ps.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-01-25 17:49:44 -0500
committerMatthew Heon <matthew.heon@pm.me>2021-02-08 13:58:36 -0500
commit0838a9414d8949cd4b30bb2574c0994eb2e0b8cf (patch)
tree218cdaeaac77d318d1ab23e68cf9c31b0e8cfb69 /pkg/ps/ps.go
parent5da474dec055a678a2870e54f017c022ba4bf71a (diff)
downloadpodman-0838a9414d8949cd4b30bb2574c0994eb2e0b8cf.tar.gz
podman-0838a9414d8949cd4b30bb2574c0994eb2e0b8cf.tar.bz2
podman-0838a9414d8949cd4b30bb2574c0994eb2e0b8cf.zip
podman-remote ps --external --pod --sort do not work.
Fixup the bindings and the handling of the --external --por and --sort flags. The --storage option was renamed --external, make sure we use external up and down the stack. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/ps/ps.go')
-rw-r--r--pkg/ps/ps.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ps/ps.go b/pkg/ps/ps.go
index dc577890a..42f9e1d39 100644
--- a/pkg/ps/ps.go
+++ b/pkg/ps/ps.go
@@ -69,7 +69,7 @@ func GetContainerLists(runtime *libpod.Runtime, options entities.ContainerListOp
pss = append(pss, listCon)
}
- if options.All && options.Storage {
+ if options.All && options.External {
externCons, err := runtime.StorageContainers()
if err != nil {
return nil, err