Add resource version to Store Replace params.

This commit is contained in:
Wojciech Tyczynski
2015-08-18 10:34:27 +02:00
parent 66a644b275
commit e202f9c797
20 changed files with 27 additions and 254 deletions

View File

@@ -277,7 +277,7 @@ func (f *HistoricalFIFO) pop(cancel chan struct{}) interface{} {
}
}
func (f *HistoricalFIFO) Replace(objs []interface{}) error {
func (f *HistoricalFIFO) Replace(objs []interface{}, resourceVersion string) error {
notifications := make([]Entry, 0, len(objs))
defer func() {
for _, e := range notifications {