From 61610a44f53548058e92c2c9052389c2b4114003 Mon Sep 17 00:00:00 2001 From: Uzair Ali <72073401+uzaxirr@users.noreply.github.com> Date: Tue, 8 Oct 2024 02:15:21 +0530 Subject: [PATCH] BUG --- civo/volume/resource_volume_attachment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/civo/volume/resource_volume_attachment.go b/civo/volume/resource_volume_attachment.go index c390bad5..5647c596 100644 --- a/civo/volume/resource_volume_attachment.go +++ b/civo/volume/resource_volume_attachment.go @@ -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) }