Ensure stats sorting is by right key
This commit is contained in:
parent
82c067b591
commit
48711000b0
|
@ -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
|
# Format the output header
|
||||||
pool_list_output.append('{bold}\
|
pool_list_output.append('{bold}\
|
||||||
{pool_id: <{pool_id_length}} \
|
{pool_id: <{pool_id_length}} \
|
||||||
|
|
Loading…
Reference in New Issue