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 8
8
from datetime import datetime
9
9
import time
10
10
import traceback
11
+ import urllib .parse
11
12
12
13
13
14
import configuration3 as configuration
@@ -69,8 +70,9 @@ def get_sandbox_actions(self):
69
70
}
70
71
]
71
72
"""
73
+ encoded_hybrid_worker_group_name = urllib .parse .quote (self .HybridWorkerGroupName )
72
74
url = self .base_uri + "/automationAccounts/" + self .account_id + \
73
- "/Sandboxes/GetSandboxActions?HybridWorkerGroupName=" + self . HybridWorkerGroupName + \
75
+ "/Sandboxes/GetSandboxActions?HybridWorkerGroupName=" + encoded_hybrid_worker_group_name + \
74
76
"&api-version=" + self .protocol_version
75
77
response = self .issue_request (lambda u : self .httpClient .get (u ), url )
76
78
Original file line number Diff line number Diff line change 7
7
from datetime import datetime
8
8
import time
9
9
import traceback
10
+ import urllib .parse
10
11
11
12
12
13
import configuration
@@ -68,8 +69,9 @@ def get_sandbox_actions(self):
68
69
}
69
70
]
70
71
"""
72
+ encoded_hybrid_worker_group_name = urllib .parse .quote (self .HybridWorkerGroupName )
71
73
url = self .base_uri + "/automationAccounts/" + self .account_id + \
72
- "/Sandboxes/GetSandboxActions?HybridWorkerGroupName=" + self . HybridWorkerGroupName + \
74
+ "/Sandboxes/GetSandboxActions?HybridWorkerGroupName=" + encoded_hybrid_worker_group_name + \
73
75
"&api-version=" + self .protocol_version
74
76
response = self .issue_request (lambda u : self .httpClient .get (u ), url )
75
77
You can’t perform that action at this time.
0 commit comments