mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
pkg/controller/node/scheduler/rate_limited_queue.go:correct a small spelling mistake
This commit is contained in:
parent
158f6b78da
commit
e59263e519
@ -257,7 +257,7 @@ func (q *RateLimitedTimedQueue) Try(fn ActionFunc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add value to the queue to be processed. Won't add the same
|
// Add value to the queue to be processed. Won't add the same
|
||||||
// value(comparsion by value) a second time if it was already added
|
// value(comparison by value) a second time if it was already added
|
||||||
// and not removed.
|
// and not removed.
|
||||||
func (q *RateLimitedTimedQueue) Add(value string, uid interface{}) bool {
|
func (q *RateLimitedTimedQueue) Add(value string, uid interface{}) bool {
|
||||||
now := now()
|
now := now()
|
||||||
|
Loading…
Reference in New Issue
Block a user