fix typo
fix typo Kubernetes-commit: 18f1ad7dc5392cb4537fa33bd73cdb8dc2c1e523
This commit is contained in:
parent
c332bfeefa
commit
0fc525d3c8
|
|
@ -63,7 +63,7 @@ func (s *APIEnablementOptions) Validate(registries ...GroupRegisty) []error {
|
|||
errors := []error{}
|
||||
if s.RuntimeConfig["api/all"] == "false" && len(s.RuntimeConfig) == 1 {
|
||||
// Do not allow only set api/all=false, in such case apiserver startup has no meaning.
|
||||
return append(errors, fmt.Errorf("invliad key with only api/all=false"))
|
||||
return append(errors, fmt.Errorf("invalid key with only api/all=false"))
|
||||
}
|
||||
|
||||
groups, err := resourceconfig.ParseGroups(s.RuntimeConfig)
|
||||
|
|
|
|||
Loading…
Reference in New Issue