diff --git a/server/schedule/filter/candidates.go b/server/schedule/filter/candidates.go index 2f7e0462121..dcbe89710a8 100644 --- a/server/schedule/filter/candidates.go +++ b/server/schedule/filter/candidates.go @@ -79,7 +79,7 @@ func (c *StoreCandidates) KeepTheTopStores(cmp StoreComparer, asc bool) *StoreCa } // PickTheTopStore returns the first store order by asc. -// It returns the min item when asc is true, return the max item when asc is false. +// It returns the min item when asc is true, returns the max item when asc is false. func (c *StoreCandidates) PickTheTopStore(cmp StoreComparer, asc bool) *core.StoreInfo { if len(c.Stores) == 0 { return nil