Skip to content

Commit

Permalink
Merge pull request #4264 from h-imaoka/b-aws-vpce-fix
Browse files Browse the repository at this point in the history
providers_aws_vpce issue #4137
  • Loading branch information
catsby committed Dec 18, 2015
2 parents b120f8c + bedd020 commit 058b556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin/providers/aws/resource_aws_vpc_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ func resourceAwsVPCEndpointUpdate(d *schema.ResourceData, meta interface{}) erro
os := o.(*schema.Set)
ns := n.(*schema.Set)

add := expandStringList(os.Difference(ns).List())
add := expandStringList(ns.Difference(os).List())
if len(add) > 0 {
input.AddRouteTableIds = add
}

remove := expandStringList(ns.Difference(os).List())
remove := expandStringList(os.Difference(ns).List())
if len(remove) > 0 {
input.RemoveRouteTableIds = remove
}
Expand Down

0 comments on commit 058b556

Please sign in to comment.