Agent: Change agent binary download endpoint

This commit is contained in:
Shreya Malviya 2022-06-02 17:32:14 +05:30
parent f7315b25f5
commit ed1e152e9c
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class CachingAgentRepository(IAgentRepository):
@lru_cache(maxsize=None) @lru_cache(maxsize=None)
def _download_binary_from_island(self, os: str) -> bytes: def _download_binary_from_island(self, os: str) -> bytes:
response = requests.get( # noqa: DUO123 response = requests.get( # noqa: DUO123
f"{self._island_url}/api/agent/download/{os}", f"{self._island_url}/api/agent-binaries/{os}",
verify=False, verify=False,
proxies=self._proxies, proxies=self._proxies,
timeout=MEDIUM_REQUEST_TIMEOUT, timeout=MEDIUM_REQUEST_TIMEOUT,