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 2020/10/02 15:21:46 UTC
[incubator-datalab] branch DLAB-1911 updated: [DLAB-1911]: changed
api call in remove security rule function
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DLAB-1911
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/DLAB-1911 by this push:
new 729b951 [DLAB-1911]: changed api call in remove security rule function
729b951 is described below
commit 729b9516a05b8bcafa8642556106fc5f6dab3d80
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Fri Oct 2 18:16:27 2020 +0300
[DLAB-1911]: changed api call in remove security rule function
---
infrastructure-provisioning/src/general/lib/azure/actions_lib.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
index 70d8915..7546b01 100644
--- a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
+++ b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
@@ -229,12 +229,12 @@ class AzureActions:
file=sys.stdout)}))
traceback.print_exc(file=sys.stdout)
- def remove_security_rules(self, network_security_group_name, resource_group_name, security_rule_name):
+ def remove_security_rules(self, network_security_group, resource_group, security_rule):
try:
result = self.network_client.security_rules.delete(
- network_security_group_name,
- resource_group_name,
- security_rule_name).wait()
+ network_security_group_name = network_security_group,
+ resource_group_name = resource_group,
+ security_rule_name = security_rule).wait()
return result
except Exception as err:
logging.info(
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org