fix the namespaceScoped of cachers

This commit is contained in:
Chao Xu
2016-01-21 16:59:30 -08:00
parent 2aff6ccf06
commit ebcff4b5e4
24 changed files with 44 additions and 26 deletions

View File

@@ -37,7 +37,7 @@ func NewREST(s storage.Interface, storageDecorator generic.StorageDecorator) (*R
newListFunc := func() runtime.Object { return &api.ReplicationControllerList{} }
storageInterface := storageDecorator(
s, 100, &api.ReplicationController{}, prefix, true, newListFunc)
s, 100, &api.ReplicationController{}, prefix, controller.Strategy, newListFunc)
store := &etcdgeneric.Etcd{
NewFunc: func() runtime.Object { return &api.ReplicationController{} },