Remove fc from expandable plugins

FibreChannel volume plugin does not implement ExpandableVolumePlugin.
This commit is contained in:
Jan Safranek 2024-10-30 18:08:26 +01:00
parent 1fa8877c33
commit 0ecbdf3622
2 changed files with 1 additions and 2 deletions

View File

@ -72,7 +72,6 @@ func ProbeExpandableVolumePlugins(logger klog.Logger, config persistentvolumecon
if err != nil { if err != nil {
return allPlugins, err return allPlugins, err
} }
allPlugins = append(allPlugins, fc.ProbeVolumePlugins()...)
return allPlugins, nil return allPlugins, nil
} }

View File

@ -53,7 +53,7 @@ func TestProbeExpandableVolumePlugins(t *testing.T) {
if err != nil { if err != nil {
t.Fatalf("TestProbeExpandableVolumePlugins failed: %s", err) t.Fatalf("TestProbeExpandableVolumePlugins failed: %s", err)
} }
checkPlugins(t, plugins, []string{"kubernetes.io/fc", "kubernetes.io/portworx-volume"}) checkPlugins(t, plugins, []string{"kubernetes.io/portworx-volume"})
} }
func TestProbeControllerVolumePlugins(t *testing.T) { func TestProbeControllerVolumePlugins(t *testing.T) {