summaryrefslogtreecommitdiff
path: root/cmd/podman/shared
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-08-24 17:39:37 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-27 14:47:41 +0000
commit2bc6427302eb6bcbd613d7ee767080d278968490 (patch)
treef2cac916ff7557bc604d4ad7874a0933e042b56c /cmd/podman/shared
parent663ee91eec01706008046c1df2c307716f9288db (diff)
downloadpodman-2bc6427302eb6bcbd613d7ee767080d278968490.tar.gz
podman-2bc6427302eb6bcbd613d7ee767080d278968490.tar.bz2
podman-2bc6427302eb6bcbd613d7ee767080d278968490.zip
Fix handling of multiple filters in podman ps
Docker expects multiple filters to be passed with multiple uses of the --filter flag (e.g. --filter=label=a=b --filter=label=c=d) and not a single comma-separated list of filters as we expected. Convert to the Docker format, and make some small cleanups to our handling of filters along the way. Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #1345 Approved by: umohnani8
Diffstat (limited to 'cmd/podman/shared')
-rw-r--r--cmd/podman/shared/container.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/podman/shared/container.go b/cmd/podman/shared/container.go
index 7a5455046..f44d0f7c9 100644
--- a/cmd/podman/shared/container.go
+++ b/cmd/podman/shared/container.go
@@ -20,7 +20,6 @@ import (
// PsOptions describes the struct being formed for ps
type PsOptions struct {
All bool
- Filter string
Format string
Last int
Latest bool