HBASE-25495 fix comment error of admin.rb (#2873)

Co-authored-by: stevenxi <stevenxi@tencent.com>
Signed-off-by: Viraj Jasani<virajjasani@apache.org>
This commit is contained in:
xijiawen 2021-01-14 03:26:32 +08:00 committed by GitHub
parent 48d9d196dc
commit 4caab90aa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1414,7 +1414,7 @@ module Hbase
#----------------------------------------------------------------------------------------------
# modify a namespace
def alter_namespace(namespace_name, *args)
# Fail if table name is not a string
# Fail if namespace name is not a string
raise(ArgumentError, 'Namespace name must be of type String') unless namespace_name.is_a?(String)
nsd = @admin.getNamespaceDescriptor(namespace_name)