Add missing sorter for detail parser

This commit is contained in:
Joshua Boniface 2024-10-17 10:09:49 -04:00
parent 7c8c71dff7
commit e80b797e3a
1 changed files with 2 additions and 1 deletions

View File

@ -122,4 +122,5 @@ def cli_connection_detail_parser(connections_config):
} }
) )
return connections_data # Return, ensuring local is always first
return sorted(connections_data, key=lambda x: (x.get("name") != "local"))