remove unused pv informer from expand_controller

This commit is contained in:
carlory
2023-05-18 15:58:38 +08:00
parent e3db9232d9
commit bea71a3e4e
3 changed files with 2 additions and 10 deletions

View File

@@ -342,7 +342,6 @@ func startVolumeExpandController(ctx context.Context, controllerContext Controll
expandController, expandControllerErr := expand.NewExpandController(
controllerContext.ClientBuilder.ClientOrDie("expand-controller"),
controllerContext.InformerFactory.Core().V1().PersistentVolumeClaims(),
controllerContext.InformerFactory.Core().V1().PersistentVolumes(),
controllerContext.Cloud,
plugins,
csiTranslator,