incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r962276 - /incubator/deltacloud/trunk/server/drivers.rb
Date Thu, 08 Jul 2010 23:42:47 GMT
Author: lutter
Date: Thu Jul  8 23:42:47 2010
New Revision: 962276

URL: http://svn.apache.org/viewvc?rev=962276&view=rev
Log:
* server/drivers.rb (driver_mock_source_name): convert DRIVER symbol to string

Modified:
    incubator/deltacloud/trunk/server/drivers.rb

Modified: incubator/deltacloud/trunk/server/drivers.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/drivers.rb?rev=962276&r1=962275&r2=962276&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/drivers.rb (original)
+++ incubator/deltacloud/trunk/server/drivers.rb Thu Jul  8 23:42:47 2010
@@ -22,7 +22,7 @@ def driver_source_name
 end
 
 def driver_mock_source_name
-  return File.join('deltacloud', 'drivers', DRIVER, "#{DRIVER}_driver.rb") if driver_name.eql?
'Mock'
+  return File.join('deltacloud', 'drivers', DRIVER.to_s, "#{DRIVER}_driver.rb") if driver_name.eql?
'Mock'
   File.join('deltacloud', 'drivers', DRIVER, "#{DRIVER}_mock_driver.rb")
 end
 



Mime
View raw message