incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1152240 - /incubator/deltacloud/trunk/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
Date Fri, 29 Jul 2011 14:32:52 GMT
Author: marios
Date: Fri Jul 29 14:32:52 2011
New Revision: 1152240

URL: http://svn.apache.org/viewvc?rev=1152240&view=rev
Log:
Minor typo in conversion of EC2 loadbalancer (wasn't capturing
the attached instance IDs correctly)

Modified:
    incubator/deltacloud/trunk/server/lib/deltacloud/drivers/ec2/ec2_driver.rb

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/drivers/ec2/ec2_driver.rb?rev=1152240&r1=1152239&r2=1152240&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/drivers/ec2/ec2_driver.rb (original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/drivers/ec2/ec2_driver.rb Fri Jul 29
14:32:52 2011
@@ -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



Mime
View raw message