remove unused cloudprovider param from the ProbeControllerVolumePlugins func

This commit is contained in:
carlory
2023-05-31 23:08:41 +08:00
parent bdf34b3f56
commit 07a1aea2de
2 changed files with 2 additions and 4 deletions

View File

@@ -251,7 +251,7 @@ func startRouteController(ctx context.Context, controllerContext ControllerConte
func startPersistentVolumeBinderController(ctx context.Context, controllerContext ControllerContext) (controller.Interface, bool, error) {
logger := klog.FromContext(ctx)
plugins, err := ProbeControllerVolumePlugins(logger, controllerContext.Cloud, controllerContext.ComponentConfig.PersistentVolumeBinderController.VolumeConfiguration)
plugins, err := ProbeControllerVolumePlugins(logger, controllerContext.ComponentConfig.PersistentVolumeBinderController.VolumeConfiguration)
if err != nil {
return nil, true, fmt.Errorf("failed to probe volume plugins when starting persistentvolume controller: %v", err)
}