diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-11-18 18:55:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 18:55:05 +0100 |
commit | 61a82159dbb154b2044595b156dbdb9fac04bedd (patch) | |
tree | 55a9809a4eb587344f80e702eab7b4b5609995ac /cmd | |
parent | dcd498a6885f0293934214af0c6fc2d3c7717bd5 (diff) | |
parent | 4f427a89cbc0814c25dd4b562ddf4ff4e568a005 (diff) | |
download | podman-61a82159dbb154b2044595b156dbdb9fac04bedd.tar.gz podman-61a82159dbb154b2044595b156dbdb9fac04bedd.tar.bz2 podman-61a82159dbb154b2044595b156dbdb9fac04bedd.zip |
Merge pull request #8376 from Luap99/podman-filters
Align the podman ps --filter behavior with docker
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/containers/ps.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cmd/podman/containers/ps.go b/cmd/podman/containers/ps.go index a9e2d2e35..642feb5e0 100644 --- a/cmd/podman/containers/ps.go +++ b/cmd/podman/containers/ps.go @@ -98,14 +98,6 @@ func checkFlags(c *cobra.Command) error { if listOpts.Last >= 0 && listOpts.Latest { return errors.Errorf("last and latest are mutually exclusive") } - // Filter on status forces all - for _, filter := range filters { - splitFilter := strings.SplitN(filter, "=", 2) - if strings.ToLower(splitFilter[0]) == "status" { - listOpts.All = true - break - } - } // Quiet conflicts with size and namespace and is overridden by a Go // template. if listOpts.Quiet { |