Skip to content

Commit 74bfe8f

Browse files
author
Klaus Ma
committed
Fixed typo in comments.
1 parent 5404948 commit 74bfe8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/kubelet/app/server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ func initConfigz(kc *componentconfig.KubeletConfiguration) (*configz.Config, err
320320
return cz, err
321321
}
322322

323-
// validateConfig validates configuration of Kubelet and returns an error is the input configuration is invalid.
323+
// validateConfig validates configuration of Kubelet and returns an error if the input configuration is invalid.
324324
func validateConfig(s *options.KubeletServer) error {
325325
if !s.CgroupsPerQOS && len(s.EnforceNodeAllocatable) > 0 {
326326
return fmt.Errorf("Node Allocatable enforcement is not supported unless Cgroups Per QOS feature is turned on")

0 commit comments

Comments
 (0)