Show VMs that you can afford
This commit is contained in:
parent
dd607b3c9b
commit
ee7f0dbfe2
@ -194,7 +194,7 @@ def create():
|
|||||||
|
|
||||||
affordable_vm_sizes = dict()
|
affordable_vm_sizes = dict()
|
||||||
for key, vm_size in vm_sizes.items():
|
for key, vm_size in vm_sizes.items():
|
||||||
if vm_size["dollars_per_month"] < account_balance:
|
if vm_size["dollars_per_month"] <= account_balance:
|
||||||
affordable_vm_sizes[key] = vm_size
|
affordable_vm_sizes[key] = vm_size
|
||||||
|
|
||||||
for error in errors:
|
for error in errors:
|
||||||
|
Loading…
Reference in New Issue
Block a user