Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tcadmin/resources/worker_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def sort_key(lc):
return lc["zone"] # gcp
if "location" in lc:
return lc["location"] # azure
if "armDeployment" in lc:
return lc["armDeployment"]["parameters"]["location"]["value"] # azure ARM templates
if "region" in lc:
return lc["region"] # aws

Expand Down