updating printf formating to correct syntax with int
This commit is contained in:
parent
09bd4e7b00
commit
811a82d9b3
|
@ -56,7 +56,7 @@ func resourceDigitalOceanFloatingIpCreate(d *schema.ResourceData, meta interface
|
||||||
|
|
||||||
if v, ok := d.GetOk("droplet_id"); ok {
|
if v, ok := d.GetOk("droplet_id"); ok {
|
||||||
|
|
||||||
log.Printf("[INFO] Assigning the Floating IP to the Droplet %s", v.(int))
|
log.Printf("[INFO] Assigning the Floating IP to the Droplet %d", v.(int))
|
||||||
action, _, err := client.FloatingIPActions.Assign(d.Id(), v.(int))
|
action, _, err := client.FloatingIPActions.Assign(d.Id(), v.(int))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf(
|
return fmt.Errorf(
|
||||||
|
|
Loading…
Reference in New Issue