mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Merge pull request #4735 from screeley44/v1beta3_enablement
#4544 - Fix inadvertent whitespace in v1beta3 enablement
This commit is contained in:
commit
aaa4a354d4
@ -40,9 +40,9 @@ func (m *ConfigurationMap) Set(value string) error {
|
||||
}
|
||||
arr := strings.SplitN(s, "=", 2)
|
||||
if len(arr) == 2 {
|
||||
(*m)[arr[0]] = arr[1]
|
||||
(*m)[strings.TrimSpace(arr[0])] = strings.TrimSpace(arr[1])
|
||||
} else {
|
||||
(*m)[arr[0]] = ""
|
||||
(*m)[strings.TrimSpace(arr[0])] = ""
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user