Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DMajrekar committed May 30, 2024
1 parent 9e7cc9e commit a5309e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/driver/controller_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ func (d *Driver) ControllerPublishVolume(ctx context.Context, req *csi.Controlle
log.Info().Str("volume_id", volume.ID).Str("instance_id", req.NodeId).Msg("Volume successfully requested to be attached in Civo API")

log.Debug().Str("volume_id", volume.ID).Msg("Waiting for volume to become attached in Civo API")
//slep for 25 seconds, the time it takes for the volume to be attached
time.Sleep(25 * time.Second)

time.Sleep(10 * time.Second)
// refetch the volume
volume, err = d.CivoClient.GetVolume(req.VolumeId)
if err != nil {
Expand Down

0 comments on commit a5309e9

Please sign in to comment.