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>
This commit is contained in:
Daniel J Walsh
2021-01-25 17:49:44 -05:00
parent 2102e26506
commit 21cb3043fc
13 changed files with 81 additions and 35 deletions

View File

@ -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