Update mount flag to match docker docs

- Also modify TODO in validator-kubeval example
This commit is contained in:
Prachi Pendse
2020-04-02 10:31:15 -07:00
parent 38973a80c3
commit b17ea88bf7
4 changed files with 12 additions and 6 deletions

View File

@@ -162,7 +162,7 @@ func (s *StorageMount) String() string {
func StringToStorageMount(s string) StorageMount {
m := make(map[string]string)
options := strings.Split(s, ";")
options := strings.Split(s, ",")
for _, option := range options {
keyVal := strings.Split(option, "=")
m[keyVal[0]] = keyVal[1]