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

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


The following commit(s) were added to refs/heads/DLAB-1546 by this push:
     new 71520e1  [DLAB-1546]: added name convention changes
71520e1 is described below

commit 71520e12c73a1c78971fb940ca5bc71f470f0d4a
Author: Oleh Martushevskyi <[email protected]>
AuthorDate: Tue Mar 3 14:08:54 2020 +0200

    [DLAB-1546]: added name convention changes
---
 .../src/general/scripts/azure/ssn_terminate.py                        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py 
b/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
index 3deff81..c709929 100644
--- a/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
+++ b/infrastructure-provisioning/src/general/scripts/azure/ssn_terminate.py
@@ -125,8 +125,8 @@ def terminate_ssn_node(resource_group_name, 
service_base_name, vpc_name, region)
 
     print("Removing Resource Group")
     try:
-        if AzureMeta.get_resource_group(service_base_name):
-            AzureActions.remove_resource_group(service_base_name, region)
+        if AzureMeta.get_resource_group(resource_group_name):
+            AzureActions.remove_resource_group(resource_group_name, region)
             print("Resource group {} has been terminated".format(vpc_name))
     except Exception as err:
         dlab.fab.append_result("Failed to remove resource group", str(err))


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to