You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/02/01 09:55:44 UTC

[incubator-datalab] branch DATALAB-2091 updated: [DATALAB-2091]: removed decode in common create subnet

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

lfrolov pushed a commit to branch DATALAB-2091
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-2091 by this push:
     new bd41a75  [DATALAB-2091]: removed decode in common create subnet
bd41a75 is described below

commit bd41a75656cd7e062a4d0aa7f4da34a5c446d5a9
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Mon Feb 1 11:54:40 2021 +0200

    [DATALAB-2091]: removed decode in common create subnet
---
 .../src/general/scripts/gcp/common_create_subnet.py                     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/scripts/gcp/common_create_subnet.py b/infrastructure-provisioning/src/general/scripts/gcp/common_create_subnet.py
index e66866d..194e108 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/common_create_subnet.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/common_create_subnet.py
@@ -80,7 +80,7 @@ if __name__ == "__main__":
                 while True:
                     try:
                         datalab_subnet_cidr = '{0}/{1}'.format(ipaddress.ip_address(last_ip + 1), args.prefix)
-                        ipaddress.ip_network(datalab_subnet_cidr.decode('utf-8'))
+                        ipaddress.ip_network(datalab_subnet_cidr)
                         break
                     except ValueError:
                         last_ip = last_ip + 2


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