This is an automated email from the ASF dual-hosted git repository.
omartushevskyi pushed a commit to branch DLAB-253
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-253 by this push:
new ff68bae fixed typo
ff68bae is described below
commit ff68bae1b8b55288d15c60a69c6e0ba27ae7ec76
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Fri Mar 15 14:29:43 2019 +0200
fixed typo
---
infrastructure-provisioning/src/general/scripts/gcp/edge_configure.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/infrastructure-provisioning/src/general/scripts/gcp/edge_configure.py
b/infrastructure-provisioning/src/general/scripts/gcp/edge_configure.py
index 8b132e4..8f6521d 100644
--- a/infrastructure-provisioning/src/general/scripts/gcp/edge_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/gcp/edge_configure.py
@@ -87,7 +87,9 @@ if __name__ == "__main__":
edge_conf['fw_edge_ingress_internal'] =
'{}-ingress-internal'.format(edge_conf['instance_name'])
edge_conf['fw_edge_egress_public'] =
'{}-egress-public'.format(edge_conf['instance_name'])
edge_conf['fw_edge_egress_internal'] =
'{}-egress-internal'.format(edge_conf['instance_name'])
- edge_conf['allowed_ip_cidr'] = os.environ['conf_allowed_ip_cidr']
+ edge_conf['allowed_ip_cidr'] = list()
+ for cidr in os.environ['conf_allowed_ip_cidr'].split(','):
+ edge_conf['allowed_ip_cidr'].append(cidr.replace(' ', ''))
try:
if os.environ['conf_os_family'] == 'debian':
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]