kubectl config set hangs on some invalid property names #415

This commit is contained in:
Peter Swica
2019-06-07 01:13:40 -04:00
parent 333081e79c
commit ae386f3143
2 changed files with 14 additions and 0 deletions

View File

@@ -76,6 +76,8 @@ func newNavigationSteps(path string) (*navigationSteps, error) {
steps = append(steps, navigationStep{nextPart, fieldType})
currPartIndex += len(strings.Split(nextPart, "."))
currType = fieldType
default:
return nil, fmt.Errorf("unable to parse one or more field values of %v", path)
}
}