From 279c07860a6e675bb5244f47c2bdaeb2b9b9ffa5 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Thu, 19 Oct 2023 09:41:17 +0200 Subject: [PATCH] util: implement ControllerModifyVolume Add ControllerModifyVolume to the default implementation to avoid missing method error. Signed-off-by: Madhu Rajanna --- internal/csi-common/controllerserver-default.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/csi-common/controllerserver-default.go b/internal/csi-common/controllerserver-default.go index a6b016557044..0a5fd1a0e715 100644 --- a/internal/csi-common/controllerserver-default.go +++ b/internal/csi-common/controllerserver-default.go @@ -94,3 +94,11 @@ func (cs *DefaultControllerServer) ControllerGetVolume( ) (*csi.ControllerGetVolumeResponse, error) { return nil, status.Error(codes.Unimplemented, "") } + +// ControllerModifyVolume modifies existing volume. +func (cs *DefaultControllerServer) ControllerModifyVolume( + ctx context.Context, + req *csi.ControllerModifyVolumeRequest, +) (*csi.ControllerModifyVolumeResponse, error) { + return nil, status.Error(codes.Unimplemented, "") +}