Skip to content

Commit a43aa33

Browse files
committed
fix: pricing should not show Not Available for instance with more than 4 compute unit (since some user already have vm > 4 cu) on hold
1 parent 6baae0a commit a43aa33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aleph_client/commands/pricing.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ def display_table_for(
211211
if "vram" in tier:
212212
row.append(f"{tier['vram'] / 1024:.0f}")
213213
if "holding" in price_unit:
214-
# If the pricing entity is confidential or compute units > 4, display "Not Available"
215-
if pricing_entity == PricingEntity.INSTANCE_CONFIDENTIAL or current_units > 4:
214+
# If the pricing entity is confidential, display "Not Available"
215+
if pricing_entity == PricingEntity.INSTANCE_CONFIDENTIAL:
216216
row.append("Not Available")
217217
else:
218218
row.append(

0 commit comments

Comments
 (0)