Remove cloud provider dependency from volume host and volume controllers

This commit is contained in:
carlory
2024-03-19 14:16:25 +08:00
parent 1fc92f393d
commit 9ec6ee539a
14 changed files with 13 additions and 99 deletions

View File

@@ -108,7 +108,7 @@ func TestSyncHandler(t *testing.T) {
}
allPlugins := []volume.VolumePlugin{}
translator := csitrans.New()
expc, err := NewExpandController(tCtx, fakeKubeClient, pvcInformer, nil, allPlugins, translator, csimigration.NewPluginManager(translator, utilfeature.DefaultFeatureGate))
expc, err := NewExpandController(tCtx, fakeKubeClient, pvcInformer, allPlugins, translator, csimigration.NewPluginManager(translator, utilfeature.DefaultFeatureGate))
if err != nil {
t.Fatalf("error creating expand controller : %v", err)
}