Commit 40c03b05 authored by Scott Creeley's avatar Scott Creeley

Fix whitespace in v1beta3 enablement

parent 646621e0
...@@ -40,9 +40,9 @@ func (m *ConfigurationMap) Set(value string) error { ...@@ -40,9 +40,9 @@ func (m *ConfigurationMap) Set(value string) error {
} }
arr := strings.SplitN(s, "=", 2) arr := strings.SplitN(s, "=", 2)
if len(arr) == 2 { if len(arr) == 2 {
(*m)[arr[0]] = arr[1] (*m)[strings.TrimSpace(arr[0])] = strings.TrimSpace(arr[1])
} else { } else {
(*m)[arr[0]] = "" (*m)[strings.TrimSpace(arr[0])] = ""
} }
} }
return nil return nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment