para 'resourceVersion' in DeltaFIFO.Replace is not used, so remove it

Kubernetes-commit: 2949045ec47163485118c25c40907eb43c090fac
This commit is contained in:
00255991 2021-09-08 19:10:40 +08:00 committed by Kubernetes Publisher
parent 92773dec00
commit c209a2e2bc

View File

@ -572,7 +572,7 @@ func (f *DeltaFIFO) Pop(process PopProcessFunc) (interface{}, error) {
// of the Deltas associated with K. Otherwise the pre-existing keys
// are those listed by `f.knownObjects` and the current object of K is
// 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()
defer f.lock.Unlock()
keys := make(sets.String, len(list))