deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: EC2: Fixed loading of realms in loadbalancers
Date Tue, 10 Jul 2012 10:25:35 GMT
Updated Branches:
  refs/heads/master 714c474d2 -> 121c6beb3


EC2: Fixed loading of realms in loadbalancers


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/121c6beb
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/121c6beb
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/121c6beb

Branch: refs/heads/master
Commit: 121c6beb30cd5a5610742ebae82857f354c88990
Parents: 714c474
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Tue Jul 10 12:26:14 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Tue Jul 10 12:26:14 2012 +0200

----------------------------------------------------------------------
 server/lib/deltacloud/drivers/ec2/ec2_driver.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/121c6beb/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
index 2eddd9c..bcd72ff 100644
--- a/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
+++ b/server/lib/deltacloud/drivers/ec2/ec2_driver.rb
@@ -935,7 +935,7 @@ module Deltacloud
         def convert_load_balancer(credentials, loadbalancer)
           realms = []
           balancer_realms = loadbalancer[:availability_zones].each do |zone|
-            realms << realm(credentials, zone)
+            realms << realm(credentials, :id => zone)
           end
           balancer = LoadBalancer.new({
             :id => loadbalancer[:name],


Mime
View raw message