Skip to content

Commit

Permalink
Clients: Append table to output for each protocol rucio#7209
Browse files Browse the repository at this point in the history
  • Loading branch information
dchristidis committed Jan 14, 2025
1 parent b408e8a commit 4176806
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/rucio/client/commands/bin_legacy/rucio_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,10 +447,11 @@ def info_rse(args, client, logger, console, spinner):
else:
print(' ' + item + ': ' + str(protocol[item]))

if cli_config == 'rich':
table = generate_table(table_data, col_alignments=['left', 'left'], row_styles=['none'])
output.append(Padding.indent(table, 2))
if cli_config == 'rich':
table = generate_table(table_data, col_alignments=['left', 'left'], row_styles=['none'])
output.append(Padding.indent(table, 2))

if cli_config == 'rich':
header = ['SOURCE', 'USED', 'FILES', 'FREE', 'TOTAL', 'UPDATED AT']
key2id = {header[i].lower().replace(' ', '_'): i for i in range(len(header))}
table_data = []
Expand Down

0 comments on commit 4176806

Please sign in to comment.