forked from p34709852/monkey
Agent: Call /legacy config endpoint from ControlClient
This commit is contained in:
parent
7cda2b8e58
commit
8730b2bbbc
|
@ -208,7 +208,7 @@ class ControlClient(object):
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
reply = requests.get( # noqa: DUO123
|
reply = requests.get( # noqa: DUO123
|
||||||
"https://%s/api/monkey/%s" % (WormConfiguration.current_server, GUID),
|
"https://%s/api/monkey/%s/legacy" % (WormConfiguration.current_server, GUID),
|
||||||
verify=False,
|
verify=False,
|
||||||
proxies=ControlClient.proxies,
|
proxies=ControlClient.proxies,
|
||||||
timeout=MEDIUM_REQUEST_TIMEOUT,
|
timeout=MEDIUM_REQUEST_TIMEOUT,
|
||||||
|
|
Loading…
Reference in New Issue