Agent: Rename api/monkey_control to api/monkey-control

This commit is contained in:
Ilija Lazoroski 2022-04-15 13:17:26 +02:00
parent d2cc056a55
commit 52ee31e326
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class ControlChannel(IControlChannel):
return True return True
try: try:
url = ( url = (
f"https://{self._control_channel_server}/api/monkey_control" f"https://{self._control_channel_server}/api/monkey-control"
f"/needs-to-stop/{self._agent_id}" f"/needs-to-stop/{self._agent_id}"
) )
response = requests.get( # noqa: DUO123 response = requests.get( # noqa: DUO123