mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
providers/openstack: fix vet issue
This commit is contained in:
parent
ede6af8763
commit
ebc33d874a
@ -56,7 +56,7 @@ func resourceComputeServerGroupV2Create(d *schema.ResourceData, meta interface{}
|
|||||||
log.Printf("[DEBUG] Create Options: %#v", createOpts)
|
log.Printf("[DEBUG] Create Options: %#v", createOpts)
|
||||||
newSG, err := servergroups.Create(computeClient, createOpts).Extract()
|
newSG, err := servergroups.Create(computeClient, createOpts).Extract()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("Error creating ServerGroup", err)
|
return fmt.Errorf("Error creating ServerGroup: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
d.SetId(newSG.ID)
|
d.SetId(newSG.ID)
|
||||||
|
Loading…
Reference in New Issue
Block a user