incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Browning <bbrow...@redhat.com>
Subject [PATCH] Fix typo in key_name for client's create_instance method
Date Mon, 04 Oct 2010 20:38:13 GMT
---
 client/lib/deltacloud.rb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/lib/deltacloud.rb b/client/lib/deltacloud.rb
index 0eeb4e4..21d69ef 100644
--- a/client/lib/deltacloud.rb
+++ b/client/lib/deltacloud.rb
@@ -261,7 +261,7 @@ module DeltaCloud
       end
       declare_entry_points_methods(@entry_points)
     end
-    
+
     def create_key(opts={}, &block)
       params = { :name => opts[:name] }
       key = nil
@@ -293,7 +293,7 @@ module DeltaCloud
       ( params[:realm_id] = realm_id ) if realm_id
       ( params[:name] = name ) if name
       ( params[:user_data] = user_data ) if user_data
-      ( params[:keyname] = user_data ) if key_name
+      ( params[:keyname] = key_name ) if key_name
 
       if opts[:hardware_profile].is_a?(String)
         params[:hwp_id] = opts[:hardware_profile]
-- 
1.7.2.1


Mime
View raw message