Merge pull request #5075 from uber/fix-issue-4895
provider/google: Fix google_compute_backend_service max_utilization backend attribute
This commit is contained in:
commit
636f05a941
|
@ -37,6 +37,7 @@ BUG FIXES:
|
|||
* provider/aws: Fix reading auto scaling group load balancers [GH-5045]
|
||||
* provider/aws: Fix reading auto scaling group availability zones [GH-5044]
|
||||
* provider/docker: Fix the default docker_host value [GH-5088]
|
||||
* provider/google: Fix backend service max_utilization attribute [GH-5075]
|
||||
|
||||
## 0.6.11 (February 1, 2016)
|
||||
|
||||
|
|
|
@ -300,7 +300,7 @@ func expandBackends(configured []interface{}) []*compute.Backend {
|
|||
if v, ok := data["max_rate_per_instance"]; ok {
|
||||
b.MaxRatePerInstance = v.(float64)
|
||||
}
|
||||
if v, ok := data["max_rate_per_instance"]; ok {
|
||||
if v, ok := data["max_utilization"]; ok {
|
||||
b.MaxUtilization = v.(float64)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue