Add resource version to Store Replace params.
This commit is contained in:
2
pkg/client/unversioned/cache/delta_fifo.go
vendored
2
pkg/client/unversioned/cache/delta_fifo.go
vendored
@@ -307,7 +307,7 @@ func (f *DeltaFIFO) Pop() interface{} {
|
||||
// 'f' takes ownership of the map, you should not reference the map again
|
||||
// after calling this function. f's queue is reset, too; upon return, it
|
||||
// will contain the items in the map, in no particular order.
|
||||
func (f *DeltaFIFO) Replace(list []interface{}) error {
|
||||
func (f *DeltaFIFO) Replace(list []interface{}, resourceVersion string) error {
|
||||
f.lock.Lock()
|
||||
defer f.lock.Unlock()
|
||||
for _, item := range list {
|
||||
|
||||
Reference in New Issue
Block a user