Revert "Use PV shared informer in PV controller"

This commit is contained in:
Matthew Wong
2016-09-13 10:12:34 -04:00
parent 115855bbd2
commit 25e9b9dcf9
6 changed files with 44 additions and 80 deletions

View File

@@ -594,7 +594,7 @@ func newTestController(kubeClient clientset.Interface, volumeSource, claimSource
if classSource == nil {
classSource = framework.NewFakeControllerSource()
}
ctrl := NewPersistentVolumeControllerFromClient(
ctrl := NewPersistentVolumeController(
kubeClient,
5*time.Second, // sync period
nil, // alpha provisioner