Skip to content

Commit

Permalink
[aws|elb] use a set union to register new instances.
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanegan committed Oct 25, 2011
1 parent 2ac4ff2 commit 7f3b78f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def register_instances_with_load_balancer(instance_ids, lb_name)
response = Excon::Response.new
response.status = 200

load_balancer['Instances'] = instances.dup
load_balancer['Instances'] = load_balancer['Instances'] | instances.dup

response.body = {
'ResponseMetadata' => {
Expand Down

0 comments on commit 7f3b78f

Please sign in to comment.