hbase-commits mailing list archives

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

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

Modified:
    hbase/trunk/src/main/ruby/hbase/admin.rb

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



Mime
View raw message