Skip to content

Commit

Permalink
OS-5118. Fixed 500 in insider flavors
Browse files Browse the repository at this point in the history
  • Loading branch information
nk-hystax authored Jan 9, 2025
1 parent 65a5d4b commit eac25da
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tools/cloud_adapter/clouds/gcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1278,8 +1278,11 @@ def _update_m2_prices(
# m2 instance family is a special case.
# Pricing table only contains "premium" prices
# that need to be added to the regular m1 prices.
prices[("m2", False)].vcpu_price += prices[("m1", False)].vcpu_price
prices[("m2", False)].ram_gb_price += prices[("m1", False)].ram_gb_price
if ("m2", False) in prices and ("m1", False) in prices:
prices[("m2", False)].vcpu_price += prices[
("m1", False)].vcpu_price
prices[("m2", False)].ram_gb_price += prices[
("m1", False)].ram_gb_price

def _get_machine_family_resource_prices(
self, region: str
Expand Down

0 comments on commit eac25da

Please sign in to comment.