Fix minor shell disable issue
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1041551 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
63a1446423
commit
616d1959eb
|
@ -97,7 +97,7 @@ module Hbase
|
||||||
#----------------------------------------------------------------------------------------------
|
#----------------------------------------------------------------------------------------------
|
||||||
# Disables a table
|
# Disables a table
|
||||||
def disable(table_name)
|
def disable(table_name)
|
||||||
return unless disabled?(table_name)
|
return if disabled?(table_name)
|
||||||
@admin.disableTable(table_name)
|
@admin.disableTable(table_name)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue