Skip to content

Commit

Permalink
util: implement ControllerModifyVolume
Browse files Browse the repository at this point in the history
Add ControllerModifyVolume to the default
implementation to avoid missing method
error.

Signed-off-by: Madhu Rajanna <[email protected]>
  • Loading branch information
Madhu-1 committed Oct 19, 2023
1 parent 2d9bfb6 commit 279c078
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions internal/csi-common/controllerserver-default.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, "")
}

0 comments on commit 279c078

Please sign in to comment.