Add missing sorter for detail parser
This commit is contained in:
parent
7c8c71dff7
commit
e80b797e3a
|
@ -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"))
|
||||||
|
|
Loading…
Reference in New Issue