Skip to content

Commit c781576

Browse files
committed
Sort images during config to improve UX
1 parent f4833dd commit c781576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linodecli/configuration/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,9 @@ def configure(
404404
t["id"]
405405
for t in _do_get_request(self.base_url, "/linode/types")["data"]
406406
])
407-
images = [
407+
images = sorted([
408408
i["id"] for i in _do_get_request(self.base_url, "/images")["data"]
409-
]
409+
])
410410

411411
is_full_access = _check_full_access(self.base_url, token)
412412

0 commit comments

Comments
 (0)