From a867fdedd65cfe6204591453b2c25c8c3e14233e Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Fri, 29 Sep 2023 02:34:49 +0000 Subject: [PATCH] cleanup: remove ControllerPublishVolume capability --- pkg/azurefile/azurefile.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/azurefile/azurefile.go b/pkg/azurefile/azurefile.go index 1e41a1c5ea..1c5ef5b063 100644 --- a/pkg/azurefile/azurefile.go +++ b/pkg/azurefile/azurefile.go @@ -369,7 +369,6 @@ func (d *Driver) Run(endpoint, kubeconfig string, testBool bool) { d.AddControllerServiceCapabilities( []csi.ControllerServiceCapability_RPC_Type{ csi.ControllerServiceCapability_RPC_CREATE_DELETE_VOLUME, - csi.ControllerServiceCapability_RPC_PUBLISH_UNPUBLISH_VOLUME, csi.ControllerServiceCapability_RPC_CREATE_DELETE_SNAPSHOT, csi.ControllerServiceCapability_RPC_EXPAND_VOLUME, csi.ControllerServiceCapability_RPC_SINGLE_NODE_MULTI_WRITER,