@@ -540,11 +540,11 @@ func (d *Driver) ValidateVolumeCapabilities(ctx context.Context, req *csi.Valida
540540 }, nil
541541}
542542
543- func (d * Driver ) ControllerPublishVolume (ctx context.Context , req * csi.ControllerPublishVolumeRequest ) (* csi.ControllerPublishVolumeResponse , error ) {
543+ func (d * Driver ) ControllerPublishVolume (_ context.Context , _ * csi.ControllerPublishVolumeRequest ) (* csi.ControllerPublishVolumeResponse , error ) {
544544 return nil , status .Error (codes .Unimplemented , "ControllerPublishVolume is not yet implemented" )
545545}
546546
547- func (d * Driver ) ControllerUnpublishVolume (ctx context.Context , req * csi.ControllerUnpublishVolumeRequest ) (* csi.ControllerUnpublishVolumeResponse , error ) {
547+ func (d * Driver ) ControllerUnpublishVolume (_ context.Context , _ * csi.ControllerUnpublishVolumeRequest ) (* csi.ControllerUnpublishVolumeResponse , error ) {
548548 return nil , status .Error (codes .Unimplemented , "ControllerUnpublishVolume is not yet implemented" )
549549}
550550
@@ -554,39 +554,39 @@ func (d *Driver) ControllerGetVolume(context.Context, *csi.ControllerGetVolumeRe
554554}
555555
556556// GetCapacity returns the capacity of the total available storage pool
557- func (d * Driver ) GetCapacity (ctx context.Context , req * csi.GetCapacityRequest ) (* csi.GetCapacityResponse , error ) {
557+ func (d * Driver ) GetCapacity (_ context.Context , _ * csi.GetCapacityRequest ) (* csi.GetCapacityResponse , error ) {
558558 return nil , status .Error (codes .Unimplemented , "GetCapacity is not yet implemented" )
559559}
560560
561561// ListVolumes return all available volumes
562- func (d * Driver ) ListVolumes (ctx context.Context , req * csi.ListVolumesRequest ) (* csi.ListVolumesResponse , error ) {
562+ func (d * Driver ) ListVolumes (_ context.Context , _ * csi.ListVolumesRequest ) (* csi.ListVolumesResponse , error ) {
563563 return nil , status .Error (codes .Unimplemented , "ListVolumes is not yet implemented" )
564564}
565565
566566// CreateSnapshot create snapshot
567- func (d * Driver ) CreateSnapshot (ctx context.Context , req * csi.CreateSnapshotRequest ) (* csi.CreateSnapshotResponse , error ) {
567+ func (d * Driver ) CreateSnapshot (_ context.Context , _ * csi.CreateSnapshotRequest ) (* csi.CreateSnapshotResponse , error ) {
568568 return nil , status .Error (codes .Unimplemented , "CreateSnapshot is not yet implemented" )
569569}
570570
571571// DeleteSnapshot delete snapshot
572- func (d * Driver ) DeleteSnapshot (ctx context.Context , req * csi.DeleteSnapshotRequest ) (* csi.DeleteSnapshotResponse , error ) {
572+ func (d * Driver ) DeleteSnapshot (_ context.Context , _ * csi.DeleteSnapshotRequest ) (* csi.DeleteSnapshotResponse , error ) {
573573 return nil , status .Error (codes .Unimplemented , "DeleteSnapshot is not yet implemented" )
574574}
575575
576576// ListSnapshots list snapshots
577- func (d * Driver ) ListSnapshots (ctx context.Context , req * csi.ListSnapshotsRequest ) (* csi.ListSnapshotsResponse , error ) {
577+ func (d * Driver ) ListSnapshots (_ context.Context , _ * csi.ListSnapshotsRequest ) (* csi.ListSnapshotsResponse , error ) {
578578 return nil , status .Error (codes .Unimplemented , "ListSnapshots is not yet implemented" )
579579}
580580
581581// ControllerGetCapabilities returns the capabilities of the Controller plugin
582- func (d * Driver ) ControllerGetCapabilities (ctx context.Context , req * csi.ControllerGetCapabilitiesRequest ) (* csi.ControllerGetCapabilitiesResponse , error ) {
582+ func (d * Driver ) ControllerGetCapabilities (_ context.Context , _ * csi.ControllerGetCapabilitiesRequest ) (* csi.ControllerGetCapabilitiesResponse , error ) {
583583 return & csi.ControllerGetCapabilitiesResponse {
584584 Capabilities : d .Cap ,
585585 }, nil
586586}
587587
588588// ControllerExpandVolume controller expand volume
589- func (d * Driver ) ControllerExpandVolume (ctx context.Context , req * csi.ControllerExpandVolumeRequest ) (* csi.ControllerExpandVolumeResponse , error ) {
589+ func (d * Driver ) ControllerExpandVolume (_ context.Context , req * csi.ControllerExpandVolumeRequest ) (* csi.ControllerExpandVolumeResponse , error ) {
590590 if len (req .GetVolumeId ()) == 0 {
591591 return nil , status .Error (codes .InvalidArgument , "Volume ID missing in request" )
592592 }
0 commit comments