mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-03 23:38:24 +00:00
filters: cleanup & fmt
Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
This commit is contained in:
@@ -22,9 +22,9 @@ func ParseFlag(arg string, prev map[string]string) (map[string]string, error) {
|
||||
} else {
|
||||
filters = map[string]string{}
|
||||
}
|
||||
if len(arg) == 0 {
|
||||
return filters, nil
|
||||
}
|
||||
if len(arg) == 0 {
|
||||
return filters, nil
|
||||
}
|
||||
|
||||
for _, chunk := range strings.Split(arg, ";") {
|
||||
if !strings.Contains(chunk, "=") {
|
||||
|
||||
Reference in New Issue
Block a user