Skip to content

Commit

Permalink
HBASE-25495 fix comment error of admin.rb (#2873)
Browse files Browse the repository at this point in the history
Co-authored-by: stevenxi <[email protected]>
Signed-off-by: Viraj Jasani<[email protected]>
  • Loading branch information
leyangyueshan and stevenxi authored Jan 13, 2021
1 parent 48d9d19 commit 4caab90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hbase-shell/src/main/ruby/hbase/admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ def create_namespace(namespace_name, *args)
#----------------------------------------------------------------------------------------------
# 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)
Expand Down

0 comments on commit 4caab90

Please sign in to comment.