Skip to content

Commit 0ecbdf3

Browse files
committed
Remove fc from expandable plugins
FibreChannel volume plugin does not implement ExpandableVolumePlugin.
1 parent 1fa8877 commit 0ecbdf3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

cmd/kube-controller-manager/app/plugins.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ func ProbeExpandableVolumePlugins(logger klog.Logger, config persistentvolumecon
7272
if err != nil {
7373
return allPlugins, err
7474
}
75-
allPlugins = append(allPlugins, fc.ProbeVolumePlugins()...)
7675
return allPlugins, nil
7776
}
7877

cmd/kube-controller-manager/app/plugins_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func TestProbeExpandableVolumePlugins(t *testing.T) {
5353
if err != nil {
5454
t.Fatalf("TestProbeExpandableVolumePlugins failed: %s", err)
5555
}
56-
checkPlugins(t, plugins, []string{"kubernetes.io/fc", "kubernetes.io/portworx-volume"})
56+
checkPlugins(t, plugins, []string{"kubernetes.io/portworx-volume"})
5757
}
5858

5959
func TestProbeControllerVolumePlugins(t *testing.T) {

0 commit comments

Comments
 (0)