From fa1b3c88d83b6bb4688d1c8484af13f3b6328f7f Mon Sep 17 00:00:00 2001 From: Sander van Harmelen Date: Tue, 13 Jan 2015 08:55:47 +0100 Subject: [PATCH] Fix conversion error This causes a crash of the provider --- builtin/providers/cloudstack/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/cloudstack/provider.go b/builtin/providers/cloudstack/provider.go index f00f11cb7..fa9bc3e26 100644 --- a/builtin/providers/cloudstack/provider.go +++ b/builtin/providers/cloudstack/provider.go @@ -58,7 +58,7 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) { ApiURL: d.Get("api_url").(string), ApiKey: d.Get("api_key").(string), SecretKey: d.Get("secret_key").(string), - Timeout: d.Get("timeout").(int64), + Timeout: int64(d.Get("timeout").(int)), } return config.NewClient()