You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2021/01/13 19:27:15 UTC
[hbase] branch master updated: HBASE-25495 fix comment error of
admin.rb (#2873)
This is an automated email from the ASF dual-hosted git repository.
stack pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 4caab90 HBASE-25495 fix comment error of admin.rb (#2873)
4caab90 is described below
commit 4caab90aa71a59a0f17c5fa969f8066da37d0196
Author: xijiawen <15...@163.com>
AuthorDate: Thu Jan 14 03:26:32 2021 +0800
HBASE-25495 fix comment error of admin.rb (#2873)
Co-authored-by: stevenxi <st...@tencent.com>
Signed-off-by: Viraj Jasani<vi...@apache.org>
---
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 6228ad7..d874d63 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)