@@ -551,7 +551,7 @@ func (d *Driver) ControllerModifyVolume(ctx context.Context, req *csi.Controller
551551 csiMC .ObserveWithLabels (isOperationSucceeded ,
552552 "disk_sku" , string (skuName ))
553553 }()
554-
554+
555555 volumeID := req .GetVolumeId ()
556556 if len (volumeID ) == 0 {
557557 return nil , status .Error (codes .InvalidArgument , "Volume ID missing in the request" )
@@ -647,7 +647,7 @@ func (d *Driver) ControllerPublishVolume(ctx context.Context, req *csi.Controlle
647647 csiMC .ObserveWithLabels (isOperationSucceeded ,
648648 "caching_mode" , string (cachingMode ))
649649 }()
650-
650+
651651 diskURI := req .GetVolumeId ()
652652 if len (diskURI ) == 0 {
653653 return nil , status .Error (codes .InvalidArgument , "Volume ID not provided" )
@@ -790,7 +790,7 @@ func (d *Driver) ControllerUnpublishVolume(ctx context.Context, req *csi.Control
790790 defer func () {
791791 csiMC .Observe (isOperationSucceeded )
792792 }()
793-
793+
794794 diskURI := req .GetVolumeId ()
795795 if len (diskURI ) == 0 {
796796 return nil , status .Error (codes .InvalidArgument , "Volume ID not provided" )
@@ -1108,7 +1108,7 @@ func (d *Driver) ControllerExpandVolume(ctx context.Context, req *csi.Controller
11081108 defer func () {
11091109 csiMC .ObserveWithLabels (isOperationSucceeded , "disk_sku" , diskSku )
11101110 }()
1111-
1111+
11121112 if len (req .GetVolumeId ()) == 0 {
11131113 return nil , status .Error (codes .InvalidArgument , "Volume ID missing in the request" )
11141114 }
@@ -1185,7 +1185,7 @@ func (d *Driver) CreateSnapshot(ctx context.Context, req *csi.CreateSnapshotRequ
11851185 csiMC .Observe (isOperationSucceeded )
11861186 }
11871187 }()
1188-
1188+
11891189 sourceVolumeID := req .GetSourceVolumeId ()
11901190 if len (sourceVolumeID ) == 0 {
11911191 return nil , status .Error (codes .InvalidArgument , "CreateSnapshot Source Volume ID must be provided" )
@@ -1439,7 +1439,7 @@ func (d *Driver) DeleteSnapshot(ctx context.Context, req *csi.DeleteSnapshotRequ
14391439 defer func () {
14401440 csiMC .Observe (isOperationSucceeded )
14411441 }()
1442-
1442+
14431443 snapshotID := req .SnapshotId
14441444 if len (snapshotID ) == 0 {
14451445 return nil , status .Error (codes .InvalidArgument , "Snapshot ID must be provided" )
0 commit comments