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

@@ -62,7 +62,7 @@ func NewREST(s storage.Interface, storageDecorator generic.StorageDecorator) (*R
newListFunc := func() runtime.Object { return &extensions.DeploymentList{} }
storageInterface := storageDecorator(
s, 100, &extensions.Deployment{}, prefix, false, newListFunc)
s, 100, &extensions.Deployment{}, prefix, deployment.Strategy, newListFunc)
store := &etcdgeneric.Etcd{
NewFunc: func() runtime.Object { return &extensions.Deployment{} },