mirror of
https://github.com/rancher/rke.git
synced 2025-09-12 13:18:47 +00:00
K8s Vendor update to 1.10.5
This commit is contained in:
4
vendor/k8s.io/client-go/tools/cache/fifo.go
generated
vendored
4
vendor/k8s.io/client-go/tools/cache/fifo.go
generated
vendored
@@ -59,7 +59,7 @@ type Queue interface {
|
||||
// has since been added.
|
||||
AddIfNotPresent(interface{}) error
|
||||
|
||||
// Return true if the first batch of items has been popped
|
||||
// HasSynced returns true if the first batch of items has been popped
|
||||
HasSynced() bool
|
||||
|
||||
// Close queue
|
||||
@@ -169,7 +169,7 @@ func (f *FIFO) AddIfNotPresent(obj interface{}) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// addIfNotPresent assumes the fifo lock is already held and adds the the provided
|
||||
// addIfNotPresent assumes the fifo lock is already held and adds the provided
|
||||
// item to the queue under id if it does not already exist.
|
||||
func (f *FIFO) addIfNotPresent(id string, obj interface{}) {
|
||||
f.populated = true
|
||||
|
Reference in New Issue
Block a user