From 4caab90aa71a59a0f17c5fa969f8066da37d0196 Mon Sep 17 00:00:00 2001 From: xijiawen <15891721997@163.com> Date: Thu, 14 Jan 2021 03:26:32 +0800 Subject: [PATCH] HBASE-25495 fix comment error of admin.rb (#2873) Co-authored-by: stevenxi Signed-off-by: Viraj Jasani --- hbase-shell/src/main/ruby/hbase/admin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb index 6228ad78486..d874d6337b8 100644 --- a/hbase-shell/src/main/ruby/hbase/admin.rb +++ b/hbase-shell/src/main/ruby/hbase/admin.rb @@ -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)