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:34:21 UTC

[incubator-datalab] 09/10: [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

commit c95ce67ee7e380dcfdae116a7bdb3e92f96334e3
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 1d29ed3..3c2c508 100644
--- a/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
+++ b/infrastructure-provisioning/src/general/lib/azure/actions_lib.py
@@ -228,12 +228,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