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

@@ -908,7 +908,7 @@ func TestDeleteControllerAndExpectations(t *testing.T) {
// This should have no effect, since we've deleted the rc.
podExp.Seen(1, 0)
manager.podStore.Store.Replace(make([]interface{}, 0))
manager.podStore.Store.Replace(make([]interface{}, 0), "0")
manager.syncReplicationController(getKey(rc, t))
validateSyncReplication(t, &fakePodControl, 0, 0)
}