Merge pull request #2978 from djworth/master

Convert int to int64 when building the cluster.NodeConfig struct
This commit is contained in:
Radek Simko 2015-08-20 21:34:54 +01:00
commit 6c87209cdf

View File

@ -253,7 +253,7 @@ func resourceContainerClusterCreate(d *schema.ResourceData, meta interface{}) er
}
if v, ok = nodeConfig["disk_size_gb"]; ok {
cluster.NodeConfig.DiskSizeGb = v.(int64)
cluster.NodeConfig.DiskSizeGb = int64(v.(int))
}
if v, ok := nodeConfig["oauth_scopes"]; ok {