From 263fff28f369f1c9417d7dceeb8c8fd1da60808a Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Fri, 23 Sep 2022 11:50:26 +0530 Subject: [PATCH] BB: Use /api/agent-signals/terminate-all instead of /api/monkey-control/stop-all-agents --- envs/monkey_zoo/blackbox/island_client/monkey_island_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envs/monkey_zoo/blackbox/island_client/monkey_island_client.py b/envs/monkey_zoo/blackbox/island_client/monkey_island_client.py index 351de3c32..8ffa0978e 100644 --- a/envs/monkey_zoo/blackbox/island_client/monkey_island_client.py +++ b/envs/monkey_zoo/blackbox/island_client/monkey_island_client.py @@ -89,7 +89,7 @@ class MonkeyIslandClient(object): @avoid_race_condition def kill_all_monkeys(self): response = self.requests.post_json( - "api/monkey-control/stop-all-agents", json={"kill_time": time.time()} + "api/agent-signals/terminate-all", json={"kill_time": time.time()} ) if response.ok: LOGGER.info("Killing all monkeys after the test.")