Skip to content

Commit be2040c

Browse files
committed
Define ControllerModifyVolume for new csi spec
Signed-off-by: Yussuf Shaikh <[email protected]>
1 parent c74d113 commit be2040c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/driver/controller.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,11 @@ func (d *controllerService) ControllerGetVolume(ctx context.Context, req *csi.Co
430430
return nil, status.Error(codes.Unimplemented, "")
431431
}
432432

433+
func (d *controllerService) ControllerModifyVolume(ctx context.Context, req *csi.ControllerModifyVolumeRequest) (*csi.ControllerModifyVolumeResponse, error) {
434+
klog.V(4).InfoS("ControllerModifyVolume: called with args %+v", *req)
435+
return nil, status.Error(codes.Unimplemented, "")
436+
}
437+
433438
func isValidVolumeCapabilities(volCaps []*csi.VolumeCapability) bool {
434439
hasSupport := func(cap *csi.VolumeCapability) bool {
435440
for _, c := range volumeCaps {

0 commit comments

Comments
 (0)