Skip to content

Commit

Permalink
Clients: initialize table_data before iterating over protocols; fix r…
Browse files Browse the repository at this point in the history
  • Loading branch information
rdimaio committed Dec 5, 2024
1 parent 3d5cbf5 commit fc00e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/rucio-admin
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@ def info_rse(args):
if cli_config == 'rich':
table = generate_table(table_data, row_styles=['none'], col_alignments=['left', 'left'])
output.append(table)
table_data = []
else:
print('Protocols:')
print('==========')
Expand All @@ -641,7 +642,6 @@ def info_rse(args):
else:
print(' ' + protocol['scheme'])

table_data = []
for item in sorted(protocol):
if cli_config == 'rich':
if item == 'domains':
Expand Down

0 comments on commit fc00e36

Please sign in to comment.