Fix minor shell disable issue

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1041542 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-12-02 19:15:45 +00:00
parent abd53c354d
commit 63a1446423
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ module Hbase
#---------------------------------------------------------------------------------------------- #----------------------------------------------------------------------------------------------
# Disables a table # Disables a table
def disable(table_name) def disable(table_name)
return unless enabled?(table_name) return unless disabled?(table_name)
@admin.disableTable(table_name) @admin.disableTable(table_name)
end end