@@ -546,11 +546,11 @@ func (d *Driver) ValidateVolumeCapabilities(ctx context.Context, req *csi.Valida
546546 }, nil
547547}
548548
549- func (d * Driver ) ControllerPublishVolume (ctx context.Context , req * csi.ControllerPublishVolumeRequest ) (* csi.ControllerPublishVolumeResponse , error ) {
549+ func (d * Driver ) ControllerPublishVolume (_ context.Context , _ * csi.ControllerPublishVolumeRequest ) (* csi.ControllerPublishVolumeResponse , error ) {
550550 return nil , status .Error (codes .Unimplemented , "ControllerPublishVolume is not yet implemented" )
551551}
552552
553- func (d * Driver ) ControllerUnpublishVolume (ctx context.Context , req * csi.ControllerUnpublishVolumeRequest ) (* csi.ControllerUnpublishVolumeResponse , error ) {
553+ func (d * Driver ) ControllerUnpublishVolume (_ context.Context , _ * csi.ControllerUnpublishVolumeRequest ) (* csi.ControllerUnpublishVolumeResponse , error ) {
554554 return nil , status .Error (codes .Unimplemented , "ControllerUnpublishVolume is not yet implemented" )
555555}
556556
@@ -560,39 +560,39 @@ func (d *Driver) ControllerGetVolume(context.Context, *csi.ControllerGetVolumeRe
560560}
561561
562562// GetCapacity returns the capacity of the total available storage pool
563- func (d * Driver ) GetCapacity (ctx context.Context , req * csi.GetCapacityRequest ) (* csi.GetCapacityResponse , error ) {
563+ func (d * Driver ) GetCapacity (_ context.Context , _ * csi.GetCapacityRequest ) (* csi.GetCapacityResponse , error ) {
564564 return nil , status .Error (codes .Unimplemented , "GetCapacity is not yet implemented" )
565565}
566566
567567// ListVolumes return all available volumes
568- func (d * Driver ) ListVolumes (ctx context.Context , req * csi.ListVolumesRequest ) (* csi.ListVolumesResponse , error ) {
568+ func (d * Driver ) ListVolumes (_ context.Context , _ * csi.ListVolumesRequest ) (* csi.ListVolumesResponse , error ) {
569569 return nil , status .Error (codes .Unimplemented , "ListVolumes is not yet implemented" )
570570}
571571
572572// CreateSnapshot create snapshot
573- func (d * Driver ) CreateSnapshot (ctx context.Context , req * csi.CreateSnapshotRequest ) (* csi.CreateSnapshotResponse , error ) {
573+ func (d * Driver ) CreateSnapshot (_ context.Context , _ * csi.CreateSnapshotRequest ) (* csi.CreateSnapshotResponse , error ) {
574574 return nil , status .Error (codes .Unimplemented , "CreateSnapshot is not yet implemented" )
575575}
576576
577577// DeleteSnapshot delete snapshot
578- func (d * Driver ) DeleteSnapshot (ctx context.Context , req * csi.DeleteSnapshotRequest ) (* csi.DeleteSnapshotResponse , error ) {
578+ func (d * Driver ) DeleteSnapshot (_ context.Context , _ * csi.DeleteSnapshotRequest ) (* csi.DeleteSnapshotResponse , error ) {
579579 return nil , status .Error (codes .Unimplemented , "DeleteSnapshot is not yet implemented" )
580580}
581581
582582// ListSnapshots list snapshots
583- func (d * Driver ) ListSnapshots (ctx context.Context , req * csi.ListSnapshotsRequest ) (* csi.ListSnapshotsResponse , error ) {
583+ func (d * Driver ) ListSnapshots (_ context.Context , _ * csi.ListSnapshotsRequest ) (* csi.ListSnapshotsResponse , error ) {
584584 return nil , status .Error (codes .Unimplemented , "ListSnapshots is not yet implemented" )
585585}
586586
587587// ControllerGetCapabilities returns the capabilities of the Controller plugin
588- func (d * Driver ) ControllerGetCapabilities (ctx context.Context , req * csi.ControllerGetCapabilitiesRequest ) (* csi.ControllerGetCapabilitiesResponse , error ) {
588+ func (d * Driver ) ControllerGetCapabilities (_ context.Context , _ * csi.ControllerGetCapabilitiesRequest ) (* csi.ControllerGetCapabilitiesResponse , error ) {
589589 return & csi.ControllerGetCapabilitiesResponse {
590590 Capabilities : d .Cap ,
591591 }, nil
592592}
593593
594594// ControllerExpandVolume controller expand volume
595- func (d * Driver ) ControllerExpandVolume (ctx context.Context , req * csi.ControllerExpandVolumeRequest ) (* csi.ControllerExpandVolumeResponse , error ) {
595+ func (d * Driver ) ControllerExpandVolume (_ context.Context , req * csi.ControllerExpandVolumeRequest ) (* csi.ControllerExpandVolumeResponse , error ) {
596596 if len (req .GetVolumeId ()) == 0 {
597597 return nil , status .Error (codes .InvalidArgument , "Volume ID missing in request" )
598598 }
0 commit comments