Fix conversion error

This causes a crash of the provider
This commit is contained in:
Sander van Harmelen 2015-01-13 08:55:47 +01:00
parent 9c02a6e4f7
commit fa1b3c88d8
1 changed files with 1 additions and 1 deletions

View File

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