Use PV shared informer in PV controller

This commit is contained in:
Matthew Wong
2016-08-25 21:55:23 -04:00
parent d836b248b2
commit 1d6dbdd9d2
6 changed files with 80 additions and 44 deletions

View File

@@ -1126,7 +1126,7 @@ func createClients(ns *api.Namespace, t *testing.T, s *httptest.Server, syncPeri
cloud := &fake_cloud.FakeCloud{}
syncPeriod = getSyncPeriod(syncPeriod)
ctrl := persistentvolumecontroller.NewPersistentVolumeController(
ctrl := persistentvolumecontroller.NewPersistentVolumeControllerFromClient(
binderClient,
syncPeriod,
nil, // alpha provisioner