fix the namespaceScoped of cachers
This commit is contained in:
@@ -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{} },
|
||||
|
Reference in New Issue
Block a user