Remove alphaProvisioner in PVController and AlphaStorageClassAnnotation

This commit is contained in:
NickrenREN
2017-04-05 19:35:14 +08:00
parent e18843d353
commit fa7bd44966
10 changed files with 1 additions and 166 deletions

View File

@@ -825,9 +825,6 @@ func wrapTestWithPluginCalls(expectedRecycleCalls, expectedDeleteCalls []error,
provisionCalls: expectedProvisionCalls,
}
ctrl.volumePluginMgr.InitPlugins([]vol.VolumePlugin{plugin}, ctrl)
if expectedProvisionCalls != nil {
ctrl.alphaProvisioner = plugin
}
return toWrap(ctrl, reactor, test)
}
}