incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r962171 - /incubator/deltacloud/trunk/server/libexec/config/environment.rb
Date Thu, 08 Jul 2010 23:33:20 GMT
Author: lutter
Date: Thu Jul  8 23:33:20 2010
New Revision: 962171

URL: http://svn.apache.org/viewvc?rev=962171&view=rev
Log:
* environment.rb: raise an error when DRIVER is not known

Modified:
    incubator/deltacloud/trunk/server/libexec/config/environment.rb

Modified: incubator/deltacloud/trunk/server/libexec/config/environment.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/libexec/config/environment.rb?rev=962171&r1=962170&r2=962171&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/libexec/config/environment.rb (original)
+++ incubator/deltacloud/trunk/server/libexec/config/environment.rb Thu Jul  8 23:33:20 2010
@@ -69,4 +69,8 @@ case DRIVER
     DRIVER_CLASS_NAME = "Deltacloud::Drivers::Rackspace::RackspaceDriver"
   when :rhevm
     DRIVER_CLASS_NAME = "Deltacloud::Drivers::RHEVM::RHEVMDriver"
+  when :rimu
+    DRIVER_CLASS_NAME = "Deltacloud::Drivers::Rimu::RimuHostingDriver"
+  else
+    raise Exception.new( "Unknown driver #{DRIVER}" )
 end



Mime
View raw message