Ensure stats sorting is by right key

This commit is contained in:
Joshua Boniface 2020-05-29 13:41:52 -04:00
parent 82c067b591
commit 48711000b0
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ Wr: {pool_write_ops: <{pool_write_ops_length}} \
)
)
for pool_information in sorted(pool_list, key = lambda x: int(x['id'])):
for pool_information in sorted(pool_list, key = lambda x: int(x['stats']['id'])):
# Format the output header
pool_list_output.append('{bold}\
{pool_id: <{pool_id_length}} \