Bump dependencies to Kubernetes 1.20
This commit is contained in:
2
vendor/k8s.io/apimachinery/pkg/util/cache/expiring.go
generated
vendored
2
vendor/k8s.io/apimachinery/pkg/util/cache/expiring.go
generated
vendored
@@ -145,7 +145,7 @@ func (c *Expiring) gc(now time.Time) {
|
||||
// expired.
|
||||
//
|
||||
// heap[0] is a peek at the next element in the heap, which is not obvious
|
||||
// from looking at the (*expiringHeap).Pop() implmentation below.
|
||||
// from looking at the (*expiringHeap).Pop() implementation below.
|
||||
// heap.Pop() swaps the first entry with the last entry of the heap, then
|
||||
// calls (*expiringHeap).Pop() which returns the last element.
|
||||
if len(c.heap) == 0 || now.Before(c.heap[0].expiry) {
|
||||
|
Reference in New Issue
Block a user