You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by io...@apache.org on 2019/04/15 08:38:28 UTC

[incubator-dlab] branch DLAB-599 updated: fix_typo

This is an automated email from the ASF dual-hosted git repository.

ioleksandr pushed a commit to branch DLAB-599
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-599 by this push:
     new ad5c564  fix_typo
ad5c564 is described below

commit ad5c564dc794b1ca3cbcddb2ab7dddec35691963
Author: Oleksandr_Isniuk <i....@gmail.com>
AuthorDate: Mon Apr 15 11:38:15 2019 +0300

    fix_typo
---
 infrastructure-provisioning/src/general/lib/aws/actions_lib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/lib/aws/actions_lib.py b/infrastructure-provisioning/src/general/lib/aws/actions_lib.py
index 2b654d2..cef7424 100644
--- a/infrastructure-provisioning/src/general/lib/aws/actions_lib.py
+++ b/infrastructure-provisioning/src/general/lib/aws/actions_lib.py
@@ -246,7 +246,7 @@ def create_rt(vpc_id, infra_tag_name, infra_tag_value, secondary):
 def create_subnet(vpc_id, subnet, tag, zone):
     try:
         ec2 = boto3.resource('ec2')
-        if zone == "":
+        if zone != "":
             print('with zone@@@')
             subnet = ec2.create_subnet(VpcId=vpc_id, CidrBlock=subnet, AvailabilityZone=zone)
         else:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org