mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
Remove fc from expandable plugins
FibreChannel volume plugin does not implement ExpandableVolumePlugin.
This commit is contained in:
@@ -72,7 +72,6 @@ func ProbeExpandableVolumePlugins(logger klog.Logger, config persistentvolumecon
|
||||
if err != nil {
|
||||
return allPlugins, err
|
||||
}
|
||||
allPlugins = append(allPlugins, fc.ProbeVolumePlugins()...)
|
||||
return allPlugins, nil
|
||||
}
|
||||
|
||||
|
@@ -53,7 +53,7 @@ func TestProbeExpandableVolumePlugins(t *testing.T) {
|
||||
if err != nil {
|
||||
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) {
|
||||
|
Reference in New Issue
Block a user