Merge pull request #9188 from somaopensource/8777-fix
Fix for #8777 (continuing PR #9061)
This commit is contained in:
commit
ecb536e190
1 changed files with 3 additions and 1 deletions
|
@ -29,7 +29,9 @@ func ParseFlag(arg string, prev Args) (Args, error) {
|
|||
}
|
||||
|
||||
f := strings.SplitN(arg, "=", 2)
|
||||
filters[f[0]] = append(filters[f[0]], f[1])
|
||||
name := strings.ToLower(strings.TrimSpace(f[0]))
|
||||
value := strings.TrimSpace(f[1])
|
||||
filters[name] = append(filters[name], value)
|
||||
|
||||
return filters, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue