incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sang-min.p...@eucalyptus.com
Subject [PATCH] fix a bug in Eucalyptus' delete_firewall_rule
Date Fri, 19 Aug 2011 21:03:41 GMT
From: Sang-Min Park <spark@eucalyptus.com>

---
 .../drivers/eucalyptus/eucalyptus_driver.rb        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb b/server/lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb
index ceb2ff1..721defd 100644
--- a/server/lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb
+++ b/server/lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb
@@ -144,7 +144,7 @@ module Deltacloud
 
         def delete_firewall_rule(credentials, opts={})
           ec2 = new_client(credentials)
-          firewall = opts[:id]
+          firewall = opts[:firewall]
           protocol, from_port, to_port, addresses, groups = firewall_rule_params(opts[:rule_id])
           unless groups.nil?
             groups.each_index do |i|
-- 
1.7.4.1


Mime
View raw message