From 2bc6427302eb6bcbd613d7ee767080d278968490 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Fri, 24 Aug 2018 17:39:37 -0400 Subject: 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 Closes: #1345 Approved by: umohnani8 --- cmd/podman/shared/container.go | 1 - 1 file changed, 1 deletion(-) (limited to 'cmd/podman/shared/container.go') 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 -- cgit v1.2.3-54-g00ecf