Skip to content

Commit 2f52d82

Browse files
fix condition
1 parent aa0d3a3 commit 2f52d82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/virtual_machine/virtual_machines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def load_virtual_machines(provider_id):
244244
or (provider_id == "krunvm" and vm_data["krunvm_config"] is not None)
245245
or (
246246
(provider_id == "aws" and vm_data["aws_config"] is not None)
247-
and ("disabled" in vm_data and vm_data["disabled"] != "true")
247+
and ("disabled" not in vm_data or vm_data["disabled"] != "true")
248248
)
249249
):
250250
aws_config = None

0 commit comments

Comments
 (0)