HBASE-14214 list_labels shouldn't raise ArgumentError if no labels are defined.

This commit is contained in:
anoopsjohn 2015-08-13 14:32:59 +05:30
parent d1262331eb
commit 9c69bf766f
1 changed files with 0 additions and 6 deletions

View File

@ -94,9 +94,6 @@ module Hbase
if response.nil?
raise(ArgumentError, "DISABLED: Visibility labels feature is not available")
end
if response.getAuthList.empty?
raise(ArgumentError, "No authentication set for the given user " + user)
end
return response.getAuthList
end
end
@ -108,9 +105,6 @@ module Hbase
if response.nil?
raise(ArgumentError, "DISABLED: Visibility labels feature is not available")
end
if response.getLabelList.empty?
raise(ArgumentError, "No auth label defined")
end
return response.getLabelList
end
end