From 158257473ad99e0d548f30e7ee6cd76688bbe071 Mon Sep 17 00:00:00 2001 From: Shijun Qin Date: Fri, 2 Mar 2018 21:30:44 +0800 Subject: [PATCH] Fix a grammatical error in a comment Fix a grammatical error in a comment in scheduler's code. We should use a word's plural form after "one of". --- pkg/scheduler/core/generic_scheduler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/scheduler/core/generic_scheduler.go b/pkg/scheduler/core/generic_scheduler.go index 8ebc7641de..f7e9cddfd2 100644 --- a/pkg/scheduler/core/generic_scheduler.go +++ b/pkg/scheduler/core/generic_scheduler.go @@ -106,7 +106,7 @@ type genericScheduler struct { pvcLister corelisters.PersistentVolumeClaimLister } -// Schedule tries to schedule the given pod to one of node in the node list. +// Schedule tries to schedule the given pod to one of the nodes in the node list. // If it succeeds, it will return the name of the node. // If it fails, it will return a FitError error with reasons. func (g *genericScheduler) Schedule(pod *v1.Pod, nodeLister algorithm.NodeLister) (string, error) {