This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2321
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/DATALAB-2321 by this push:
new 4a320ec [DATALAB-2321]: added output
4a320ec is described below
commit 4a320ec8089f4dbbff5ce9666cd8a28f52154095
Author: leonidfrolov <[email protected]>
AuthorDate: Mon May 17 16:53:59 2021 +0300
[DATALAB-2321]: added output
---
infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
b/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
index 907a41f..0d5bf4f 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
@@ -117,8 +117,9 @@ def terminate_ssn_node(resource_group_name,
service_base_name, vpc_name, region)
if 'azure_vpc_name' in os.environ:
print("Removing subnets in predefined VPC")
try:
- print(json.dumps(AzureMeta.list_subnets(resource_group_name,
os.environ['azure_vpc_name'])))
for subnet in AzureMeta.list_subnets(resource_group_name,
os.environ['azure_vpc_name']):
+ print('========1')
+ print(str(subnet))
if "'name': '{}".format(service_base_name) in subnet['name']:
AzureActions.remove_subnet(resource_group_name,
os.environ['azure_vpc_name'], subnet['name'])
print("Subnet {} has been removed from VPC
{}".format(i['name'], os.environ['azure_vpc_name']))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]