Skip to content

Commit

Permalink
HBASE-26896 list_quota_snapshots fails with ‘ERROR NameError: uniniti…
Browse files Browse the repository at this point in the history
…alized constant Shell::Commands::ListQuotaSnapshots::TABLE’ (#4284)

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Pankaj Kumar <pankajkumar@apache.org>
  • Loading branch information
stoty authored and petersomogyi committed Mar 28, 2022
1 parent da2c32c commit 543128d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ def help

def command(args = {})
# All arguments may be nil
desired_table = args[TABLE]
desired_namespace = args[NAMESPACE]
desired_regionserver = args[REGIONSERVER]
desired_table = args[::HBaseConstants::TABLE]
desired_namespace = args[::HBaseConstants::NAMESPACE]
desired_regionserver = args[::HBaseConstants::REGIONSERVER]
formatter.header(%w[TABLE USAGE LIMIT IN_VIOLATION POLICY])
count = 0
quotas_admin.get_quota_snapshots(desired_regionserver).each do |table_name, snapshot|
Expand Down

0 comments on commit 543128d

Please sign in to comment.