incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1044333 - /incubator/deltacloud/trunk/client/lib/deltacloud.rb
Date Fri, 10 Dec 2010 12:48:46 GMT
Author: mfojtik
Date: Fri Dec 10 12:48:46 2010
New Revision: 1044333

URL: http://svn.apache.org/viewvc?rev=1044333&view=rev
Log:
Fixed typo in use_driver() method in client

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=1044333&r1=1044332&r2=1044333&view=diff
==============================================================================
--- incubator/deltacloud/trunk/client/lib/deltacloud.rb (original)
+++ incubator/deltacloud/trunk/client/lib/deltacloud.rb Fri Dec 10 12:48:46 2010
@@ -245,7 +245,7 @@ module DeltaCloud
     end
 
     def use_driver(driver, opts={})
-      if opts[:driver]
+      if driver
         @api_driver = driver 
         @driver_name = driver
         discover_entry_points



Mime
View raw message