incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@redhat.com
Subject [PATCH] Minor typo in conversion of EC2 loadbalancer (wasn't capturing the attached instance IDs correctly)
Date Thu, 28 Jul 2011 18:58:46 GMT
From: marios <marios@redhat.com>


Signed-off-by: marios <marios@redhat.com>
---
 server/lib/deltacloud/drivers/ec2/ec2_driver.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
index 67a4de4..36f8746 100644
--- a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
+++ b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
@@ -827,7 +827,7 @@ module Deltacloud
             balancer.add_listener(listener)
           end
           loadbalancer[:instances].each do |instance|
-            balancer.instances << instance(credentials, :id => instance[:id])
+            balancer.instances << instance(credentials, :id => instance[:instance_id])
           end
           balancer
         end
-- 
1.7.3.4


Mime
View raw message