mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-22 05:10:32 +00:00
para 'resourceVersion' in DeltaFIFO.Replace is not used, so remove it
Kubernetes-commit: 2949045ec47163485118c25c40907eb43c090fac
This commit is contained in:
parent
92773dec00
commit
c209a2e2bc
2
tools/cache/delta_fifo.go
vendored
2
tools/cache/delta_fifo.go
vendored
@ -572,7 +572,7 @@ func (f *DeltaFIFO) Pop(process PopProcessFunc) (interface{}, error) {
|
|||||||
// of the Deltas associated with K. Otherwise the pre-existing keys
|
// of the Deltas associated with K. Otherwise the pre-existing keys
|
||||||
// are those listed by `f.knownObjects` and the current object of K is
|
// are those listed by `f.knownObjects` and the current object of K is
|
||||||
// what `f.knownObjects.GetByKey(K)` returns.
|
// what `f.knownObjects.GetByKey(K)` returns.
|
||||||
func (f *DeltaFIFO) Replace(list []interface{}, resourceVersion string) error {
|
func (f *DeltaFIFO) Replace(list []interface{}, _ string) error {
|
||||||
f.lock.Lock()
|
f.lock.Lock()
|
||||||
defer f.lock.Unlock()
|
defer f.lock.Unlock()
|
||||||
keys := make(sets.String, len(list))
|
keys := make(sets.String, len(list))
|
||||||
|
Loading…
Reference in New Issue
Block a user