From b0b1e0da95c8754470d495f8dfe628874f120124 Mon Sep 17 00:00:00 2001 From: Omar Ryhan Date: Tue, 6 Dec 2022 21:57:36 +0200 Subject: [PATCH] fix syntax warning --- ebcli/controllers/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebcli/controllers/create.py b/ebcli/controllers/create.py index a37ee90e4..3648c7d39 100644 --- a/ebcli/controllers/create.py +++ b/ebcli/controllers/create.py @@ -218,7 +218,7 @@ def do_command(self): if (spot_max_price or on_demand_base_capacity or on_demand_above_base_capacity) and not enable_spot: raise InvalidOptionsError(strings['create.missing_enable_spot']) - if instance_types is "": + if instance_types == "": raise InvalidOptionsError(strings['spot.instance_types_validation']) if itype and instance_types: