Skip to content

Commit b5c0293

Browse files
committed
Linter fix
1 parent 849ec36 commit b5c0293

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

waitfor.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,9 +834,11 @@ func (client Client) WaitForVolumeIOReadyStatus(ctx context.Context, volumeID in
834834
select {
835835
case <-ticker.C:
836836
volume, err := client.GetVolume(ctx, volumeID)
837+
837838
if err != nil {
838839
return volume, err
839840
}
841+
840842
if volume.IOReady == status {
841843
return volume, nil
842844
}

0 commit comments

Comments
 (0)