updating printf formating to correct syntax with int

This commit is contained in:
chrislovecnm 2015-11-25 07:59:46 +00:00
parent 09bd4e7b00
commit 811a82d9b3
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 {
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))
if err != nil {
return fmt.Errorf(