Remove redundant metadata get.

This commit is contained in:
Trevor Pounds 2016-01-22 23:45:58 -08:00
parent cd42705bf1
commit e0f4be47a8
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ func resourceAwsAutoscalingGroupUpdate(d *schema.ResourceData, meta interface{})
if d.HasChange("availability_zones") {
if v, ok := d.GetOk("availability_zones"); ok && v.(*schema.Set).Len() > 0 {
opts.AvailabilityZones = expandStringList(d.Get("availability_zones").(*schema.Set).List())
opts.AvailabilityZones = expandStringList(v.(*schema.Set).List())
}
}