@@ -577,11 +577,11 @@ func (d *Driver) ValidateVolumeCapabilities(ctx context.Context, req *csi.Valida
577
577
}, nil
578
578
}
579
579
580
- func (d * Driver ) ControllerPublishVolume (ctx context.Context , req * csi.ControllerPublishVolumeRequest ) (* csi.ControllerPublishVolumeResponse , error ) {
580
+ func (d * Driver ) ControllerPublishVolume (_ context.Context , _ * csi.ControllerPublishVolumeRequest ) (* csi.ControllerPublishVolumeResponse , error ) {
581
581
return nil , status .Error (codes .Unimplemented , "ControllerPublishVolume is not yet implemented" )
582
582
}
583
583
584
- func (d * Driver ) ControllerUnpublishVolume (ctx context.Context , req * csi.ControllerUnpublishVolumeRequest ) (* csi.ControllerUnpublishVolumeResponse , error ) {
584
+ func (d * Driver ) ControllerUnpublishVolume (_ context.Context , _ * csi.ControllerUnpublishVolumeRequest ) (* csi.ControllerUnpublishVolumeResponse , error ) {
585
585
return nil , status .Error (codes .Unimplemented , "ControllerUnpublishVolume is not yet implemented" )
586
586
}
587
587
@@ -591,39 +591,39 @@ func (d *Driver) ControllerGetVolume(context.Context, *csi.ControllerGetVolumeRe
591
591
}
592
592
593
593
// GetCapacity returns the capacity of the total available storage pool
594
- func (d * Driver ) GetCapacity (ctx context.Context , req * csi.GetCapacityRequest ) (* csi.GetCapacityResponse , error ) {
594
+ func (d * Driver ) GetCapacity (_ context.Context , _ * csi.GetCapacityRequest ) (* csi.GetCapacityResponse , error ) {
595
595
return nil , status .Error (codes .Unimplemented , "GetCapacity is not yet implemented" )
596
596
}
597
597
598
598
// ListVolumes return all available volumes
599
- func (d * Driver ) ListVolumes (ctx context.Context , req * csi.ListVolumesRequest ) (* csi.ListVolumesResponse , error ) {
599
+ func (d * Driver ) ListVolumes (_ context.Context , _ * csi.ListVolumesRequest ) (* csi.ListVolumesResponse , error ) {
600
600
return nil , status .Error (codes .Unimplemented , "ListVolumes is not yet implemented" )
601
601
}
602
602
603
603
// CreateSnapshot create snapshot
604
- func (d * Driver ) CreateSnapshot (ctx context.Context , req * csi.CreateSnapshotRequest ) (* csi.CreateSnapshotResponse , error ) {
604
+ func (d * Driver ) CreateSnapshot (_ context.Context , _ * csi.CreateSnapshotRequest ) (* csi.CreateSnapshotResponse , error ) {
605
605
return nil , status .Error (codes .Unimplemented , "CreateSnapshot is not yet implemented" )
606
606
}
607
607
608
608
// DeleteSnapshot delete snapshot
609
- func (d * Driver ) DeleteSnapshot (ctx context.Context , req * csi.DeleteSnapshotRequest ) (* csi.DeleteSnapshotResponse , error ) {
609
+ func (d * Driver ) DeleteSnapshot (_ context.Context , _ * csi.DeleteSnapshotRequest ) (* csi.DeleteSnapshotResponse , error ) {
610
610
return nil , status .Error (codes .Unimplemented , "DeleteSnapshot is not yet implemented" )
611
611
}
612
612
613
613
// ListSnapshots list snapshots
614
- func (d * Driver ) ListSnapshots (ctx context.Context , req * csi.ListSnapshotsRequest ) (* csi.ListSnapshotsResponse , error ) {
614
+ func (d * Driver ) ListSnapshots (_ context.Context , _ * csi.ListSnapshotsRequest ) (* csi.ListSnapshotsResponse , error ) {
615
615
return nil , status .Error (codes .Unimplemented , "ListSnapshots is not yet implemented" )
616
616
}
617
617
618
618
// ControllerGetCapabilities returns the capabilities of the Controller plugin
619
- func (d * Driver ) ControllerGetCapabilities (ctx context.Context , req * csi.ControllerGetCapabilitiesRequest ) (* csi.ControllerGetCapabilitiesResponse , error ) {
619
+ func (d * Driver ) ControllerGetCapabilities (_ context.Context , _ * csi.ControllerGetCapabilitiesRequest ) (* csi.ControllerGetCapabilitiesResponse , error ) {
620
620
return & csi.ControllerGetCapabilitiesResponse {
621
621
Capabilities : d .Cap ,
622
622
}, nil
623
623
}
624
624
625
625
// ControllerExpandVolume controller expand volume
626
- func (d * Driver ) ControllerExpandVolume (ctx context.Context , req * csi.ControllerExpandVolumeRequest ) (* csi.ControllerExpandVolumeResponse , error ) {
626
+ func (d * Driver ) ControllerExpandVolume (_ context.Context , req * csi.ControllerExpandVolumeRequest ) (* csi.ControllerExpandVolumeResponse , error ) {
627
627
if len (req .GetVolumeId ()) == 0 {
628
628
return nil , status .Error (codes .InvalidArgument , "Volume ID missing in request" )
629
629
}
@@ -711,7 +711,7 @@ func (d *Driver) DeleteBlobContainer(ctx context.Context, subsID, resourceGroupN
711
711
}
712
712
713
713
// CopyBlobContainer copies a blob container in the same storage account
714
- func (d * Driver ) copyBlobContainer (ctx context.Context , req * csi.CreateVolumeRequest , accountKey , dstContainerName , storageEndpointSuffix string ) error {
714
+ func (d * Driver ) copyBlobContainer (_ context.Context , req * csi.CreateVolumeRequest , accountKey , dstContainerName , storageEndpointSuffix string ) error {
715
715
var sourceVolumeID string
716
716
if req .GetVolumeContentSource () != nil && req .GetVolumeContentSource ().GetVolume () != nil {
717
717
sourceVolumeID = req .GetVolumeContentSource ().GetVolume ().GetVolumeId ()
0 commit comments