filters: cleanup & fmt

Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
This commit is contained in:
Vincent Batts
2014-06-02 16:33:51 -04:00
parent 55d95185ed
commit babd572015
2 changed files with 3 additions and 19 deletions
+3 -3
View File
@@ -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, "=") {