Skip to content

Commit

Permalink
BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
uzaxirr committed Oct 7, 2024
1 parent e6395d3 commit 61610a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion civo/volume/resource_volume_attachment.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func resourceVolumeAttachmentCreate(ctx context.Context, d *schema.ResourceData,
}

log.Printf("[INFO] attaching the volume %s to instance %s", volumeID, instanceID)
_, err := apiClient.AttachVolume(volumeID, vuc)
_, err = apiClient.AttachVolume(volumeID, vuc)
if err != nil {
return diag.Errorf("[ERR] error attaching volume to instance %s", err)
}
Expand Down

0 comments on commit 61610a4

Please # to comment.