From c372a5eed26289133ef48ca57665d2138d97b1a7 Mon Sep 17 00:00:00 2001
From: Tomasz Maczukin <tomasz@maczukin.pl>
Date: Wed, 13 Jun 2018 16:29:45 +0200
Subject: [PATCH] Increase the time of waiting for IP assigment to 15s

---
 drivers/digitalocean/digitalocean.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/digitalocean/digitalocean.go b/drivers/digitalocean/digitalocean.go
index dc05559e..5938cc7b 100644
--- a/drivers/digitalocean/digitalocean.go
+++ b/drivers/digitalocean/digitalocean.go
@@ -267,8 +267,8 @@ func (d *Driver) Create() (err error) {
 	d.DropletID = newDroplet.ID
 	try := 0
 
-	// On average it taks at least 5 seconds for assigning IP address
-	time.Sleep(5 * time.Second)
+	// On average it takes at least 5 seconds for assigning IP address
+	time.Sleep(15 * time.Second)
 
 	log.Info("Waiting for IP address to be assigned to the Droplet...")
 	for {
-- 
GitLab