Unverified Commit 15825747 authored by Shijun Qin's avatar Shijun Qin Committed by GitHub

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".
parent ae1fc13a
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment