incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r962250 - in /incubator/deltacloud/trunk/server/lib/deltacloud/drivers: rackspace/rackspace_driver.rb rhevm/rhevm_driver.rb
Date Thu, 08 Jul 2010 23:40:58 GMT
Author: lutter
Date: Thu Jul  8 23:40:57 2010
New Revision: 962250

URL: http://svn.apache.org/viewvc?rev=962250&view=rev
Log:
Replace incorrect 'credentials.name' with 'credentials.user' in drivers

Modified:
    incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
    incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb?rev=962250&r1=962249&r2=962250&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
(original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rackspace/rackspace_driver.rb
Thu Jul  8 23:40:57 2010
@@ -130,7 +130,7 @@ class RackspaceDriver < Deltacloud::Base
 
 
   def new_client(credentials)
-    RackspaceClient.new(credentials.name, credentials.password)
+    RackspaceClient.new(credentials.user, credentials.password)
   end
 
   define_instance_states do

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb?rev=962250&r1=962249&r2=962250&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb (original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb Thu Jul
 8 23:40:57 2010
@@ -61,7 +61,7 @@ class RHEVMDriver < Deltacloud::BaseDriv
   end
 
   def genArgString(credentials, args)
-    commonArgs = [SCRIPT_DIR_ARG, credentials.name, credentials.password, CONFIG["domain"]]
+    commonArgs = [SCRIPT_DIR_ARG, credentials.user, credentials.password, CONFIG["domain"]]
     commonArgs.concat(args)
     commonArgs.join(" ")
   end



Mime
View raw message