incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r962012 - /incubator/deltacloud/trunk/drivers/mock/lib/mock_driver.rb
Date Thu, 08 Jul 2010 23:16:54 GMT
Author: lutter
Date: Thu Jul  8 23:16:54 2010
New Revision: 962012

URL: http://svn.apache.org/viewvc?rev=962012&view=rev
Log:
Adjust auth exception for the renaming.

Modified:
    incubator/deltacloud/trunk/drivers/mock/lib/mock_driver.rb

Modified: incubator/deltacloud/trunk/drivers/mock/lib/mock_driver.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/drivers/mock/lib/mock_driver.rb?rev=962012&r1=962011&r2=962012&view=diff
==============================================================================
--- incubator/deltacloud/trunk/drivers/mock/lib/mock_driver.rb (original)
+++ incubator/deltacloud/trunk/drivers/mock/lib/mock_driver.rb Thu Jul  8 23:16:54 2010
@@ -138,11 +138,11 @@ class MockDriver < DeltaCloud::BaseDrive
 
   def check_credentials(credentials)
     if ( credentials[:name] != 'mockuser' )
-      raise Drivers::AuthException.new
+      raise DeltaCloud::AuthException.new
     end
 
     if ( credentials[:password] != 'mockpassword' )
-      raise Drivers::AuthException.new
+      raise DeltaCloud::AuthException.new
     end
   end
 



Mime
View raw message