This repository was archived by the owner on Sep 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Providers/nxOMSAutomationWorker/automationworker Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1010import traceback
1111
1212
13+ import urllib .parse
1314import configuration3 as configuration
1415import locallogger
1516from workerexception import *
@@ -69,8 +70,9 @@ def get_sandbox_actions(self):
6970 }
7071 ]
7172 """
73+ encoded_hybrid_worker_group_name = urllib .parse .quote (self .HybridWorkerGroupName )
7274 url = self .base_uri + "/automationAccounts/" + self .account_id + \
73- "/Sandboxes/GetSandboxActions?HybridWorkerGroupName=" + self . HybridWorkerGroupName + \
75+ "/Sandboxes/GetSandboxActions?HybridWorkerGroupName=" + encoded_hybrid_worker_group_name + \
7476 "&api-version=" + self .protocol_version
7577 response = self .issue_request (lambda u : self .httpClient .get (u ), url )
7678
Original file line number Diff line number Diff line change 99import traceback
1010
1111
12+ import urllib .parse
1213import configuration
1314import locallogger
1415import linuxutil
@@ -68,8 +69,9 @@ def get_sandbox_actions(self):
6869 }
6970 ]
7071 """
72+ encoded_hybrid_worker_group_name = urllib .parse .quote (self .HybridWorkerGroupName )
7173 url = self .base_uri + "/automationAccounts/" + self .account_id + \
72- "/Sandboxes/GetSandboxActions?HybridWorkerGroupName=" + self . HybridWorkerGroupName + \
74+ "/Sandboxes/GetSandboxActions?HybridWorkerGroupName=" + encoded_hybrid_worker_group_name + \
7375 "&api-version=" + self .protocol_version
7476 response = self .issue_request (lambda u : self .httpClient .get (u ), url )
7577
You can’t perform that action at this time.
0 commit comments