Skip to content

Commit

Permalink
fix(cost report): sort flavors alphabetically for more consistent out…
Browse files Browse the repository at this point in the history
…put (#992)
  • Loading branch information
tommartensen authored Sep 18, 2023
1 parent 5fc8458 commit f6dd5e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/cost-estimation/render_costs.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def main():
usage = read_usage_from_stdin()
cost_per_flavor_env = calculate_costs(usage)

cost_per_flavor_env.sort(key=lambda x: x["flavor"])

print("```")
print(tabulate(
cost_per_flavor_env,
Expand Down

0 comments on commit f6dd5e9

Please sign in to comment.