mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 00:07:50 +00:00
Remove fc from expandable plugins
FibreChannel volume plugin does not implement ExpandableVolumePlugin.
This commit is contained in:
parent
1fa8877c33
commit
0ecbdf3622
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user