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:
parent
abd53c354d
commit
63a1446423
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue