Show VMs that you can afford

This commit is contained in:
vvesley 2020-06-27 18:06:58 +00:00 committed by Jesse Olson
parent dd607b3c9b
commit ee7f0dbfe2

View File

@ -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: