Skip to content

Commit

Permalink
Add default vol type
Browse files Browse the repository at this point in the history
  • Loading branch information
uzaxirr committed Oct 9, 2024
1 parent 786e7f9 commit cbeb424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion civo/volume/resource_volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func resourceVolumeCreate(ctx context.Context, d *schema.ResourceData, m interfa

volume, err := apiClient.NewVolume(config)
if err != nil {
return diag.Errorf("[ERR] failed to create a new volume: %s", err)
return diag.Errorf("[ERR] failed to create a new volume: %s region: %s", err, apiClient.Region)
}

d.SetId(volume.ID)
Expand Down

0 comments on commit cbeb424

Please sign in to comment.