Fixed wrong cross zone balancing error log.

If updating the cross zone balancing in the aws elb resource fails, the
error log claimed that the health check configuration failed. Fixed.
This commit is contained in:
gulyasm 2015-01-17 16:20:35 +01:00
parent 49b3afe452
commit 0486dd0624

View File

@ -328,7 +328,7 @@ func resourceAwsElbUpdate(d *schema.ResourceData, meta interface{}) error {
}
_, err := elbconn.ModifyLoadBalancerAttributes(&attrs)
if err != nil {
return fmt.Errorf("Failure configuring health check: %s", err)
return fmt.Errorf("Failure configuring cross zone balancing: %s", err)
}
d.SetPartial("cross_zone_load_balancing")
}