hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1041550 - /hbase/branches/0.90/src/main/ruby/hbase/admin.rb
Date Thu, 02 Dec 2010 19:32:19 GMT
Author: stack
Date: Thu Dec  2 19:32:19 2010
New Revision: 1041550

URL: http://svn.apache.org/viewvc?rev=1041550&view=rev
Log:
Fix minor shell disable issue

Modified:
    hbase/branches/0.90/src/main/ruby/hbase/admin.rb

Modified: hbase/branches/0.90/src/main/ruby/hbase/admin.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.90/src/main/ruby/hbase/admin.rb?rev=1041550&r1=1041549&r2=1041550&view=diff
==============================================================================
--- hbase/branches/0.90/src/main/ruby/hbase/admin.rb (original)
+++ hbase/branches/0.90/src/main/ruby/hbase/admin.rb Thu Dec  2 19:32:19 2010
@@ -97,7 +97,7 @@ module Hbase
     #----------------------------------------------------------------------------------------------
     # Disables a table
     def disable(table_name)
-      return unless disabled?(table_name)
+      return if disabled?(table_name)
       @admin.disableTable(table_name)
     end
 



Mime
View raw message