diff --git a/cmd/kubelet/app/server.go b/cmd/kubelet/app/server.go index 46755d2fd64..8abcb67ee83 100644 --- a/cmd/kubelet/app/server.go +++ b/cmd/kubelet/app/server.go @@ -320,7 +320,7 @@ func initConfigz(kc *componentconfig.KubeletConfiguration) (*configz.Config, err return cz, err } -// validateConfig validates configuration of Kubelet and returns an error is the input configuration is invalid. +// validateConfig validates configuration of Kubelet and returns an error if the input configuration is invalid. func validateConfig(s *options.KubeletServer) error { if !s.CgroupsPerQOS && len(s.EnforceNodeAllocatable) > 0 { return fmt.Errorf("Node Allocatable enforcement is not supported unless Cgroups Per QOS feature is turned on")