mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Fixed typo in comments.
This commit is contained in:
parent
5404948e7b
commit
74bfe8fcdd
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user