From be2040c09ac651278d74b9d5585c10be6344a837 Mon Sep 17 00:00:00 2001 From: Yussuf Shaikh Date: Thu, 25 Jan 2024 10:36:06 +0530 Subject: [PATCH] Define ControllerModifyVolume for new csi spec Signed-off-by: Yussuf Shaikh --- pkg/driver/controller.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/driver/controller.go b/pkg/driver/controller.go index 8cffd6c24..01f09921f 100644 --- a/pkg/driver/controller.go +++ b/pkg/driver/controller.go @@ -430,6 +430,11 @@ func (d *controllerService) ControllerGetVolume(ctx context.Context, req *csi.Co return nil, status.Error(codes.Unimplemented, "") } +func (d *controllerService) ControllerModifyVolume(ctx context.Context, req *csi.ControllerModifyVolumeRequest) (*csi.ControllerModifyVolumeResponse, error) { + klog.V(4).InfoS("ControllerModifyVolume: called with args %+v", *req) + return nil, status.Error(codes.Unimplemented, "") +} + func isValidVolumeCapabilities(volCaps []*csi.VolumeCapability) bool { hasSupport := func(cap *csi.VolumeCapability) bool { for _, c := range volumeCaps {