incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1004997 - /incubator/deltacloud/trunk/client/lib/deltacloud.rb
Date Wed, 06 Oct 2010 12:02:11 GMT
Author: mfojtik
Date: Wed Oct  6 12:02:11 2010
New Revision: 1004997

URL: http://svn.apache.org/viewvc?rev=1004997&view=rev
Log:
Fix typo in key_name for client's create_instance method

Modified:
    incubator/deltacloud/trunk/client/lib/deltacloud.rb

Modified: incubator/deltacloud/trunk/client/lib/deltacloud.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/client/lib/deltacloud.rb?rev=1004997&r1=1004996&r2=1004997&view=diff
==============================================================================
--- incubator/deltacloud/trunk/client/lib/deltacloud.rb (original)
+++ incubator/deltacloud/trunk/client/lib/deltacloud.rb Wed Oct  6 12:02:11 2010
@@ -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]



Mime
View raw message