Skip to content

Commit 227f52e

Browse files
author
Kubernetes Submit Queue
authored
Merge pull request kubernetes#47166 from k82cn/type_fix
Automatic merge from submit-queue (batch tested with PRs 46327, 47166) Fixed typo in comments. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # N/A ```release-note NONE ```
2 parents cc645a8 + 74bfe8f commit 227f52e

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)