From 811a82d9b3f490e814cd4be4d1dc18ab5551be3e Mon Sep 17 00:00:00 2001 From: chrislovecnm Date: Wed, 25 Nov 2015 07:59:46 +0000 Subject: [PATCH] updating printf formating to correct syntax with int --- .../providers/digitalocean/resource_digitalocean_floating_ip.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/digitalocean/resource_digitalocean_floating_ip.go b/builtin/providers/digitalocean/resource_digitalocean_floating_ip.go index 3a1c41af9..03e4b0746 100644 --- a/builtin/providers/digitalocean/resource_digitalocean_floating_ip.go +++ b/builtin/providers/digitalocean/resource_digitalocean_floating_ip.go @@ -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(