Incorrect type passed into quota reflector

This commit is contained in:
derekwaynecarr
2016-02-29 17:06:32 -05:00
parent f3d943e0a4
commit c9e4c846e6
2 changed files with 52 additions and 1 deletions

View File

@@ -181,7 +181,7 @@ func (r *replenishmentControllerFactory) NewController(options *ReplenishmentCon
return r.kubeClient.Core().Secrets(api.NamespaceAll).Watch(options)
},
},
&api.PersistentVolumeClaim{},
&api.Secret{},
options.ResyncPeriod(),
framework.ResourceEventHandlerFuncs{
DeleteFunc: ObjectReplenishmentDeleteFunc(options),