Merge pull request #4058 from chrislovecnm/digitalocean-printf

updating printf formating to correct syntax with int
This commit is contained in:
Radek Simko 2015-11-25 09:03:28 +00:00
commit 164fb7c49b
1 changed files with 1 additions and 1 deletions

View File

@ -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(