Skip to content

Commit 328dc42

Browse files
committed
Add unimplemented code for ControllerModifyVolume
1 parent bd0b015 commit 328dc42

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/gce-pd-csi-driver/controller.go

+4
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,10 @@ func (gceCS *GCEControllerServer) createSingleDisk(ctx context.Context, req *csi
718718
return disk, nil
719719
}
720720

721+
func (gceCS *GCEControllerServer) ControllerModifyVolume(ctx context.Context, req *csi.ControllerModifyVolumeRequest) (*csi.ControllerModifyVolumeResponse, error) {
722+
return nil, status.Error(codes.Unimplemented, "ControllerModifyVolume unsupported")
723+
}
724+
721725
func (gceCS *GCEControllerServer) DeleteVolume(ctx context.Context, req *csi.DeleteVolumeRequest) (*csi.DeleteVolumeResponse, error) {
722726
var err error
723727
// Validate arguments

0 commit comments

Comments
 (0)