Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hummingbot_api_client/routers/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ async def get_container_status(self, container_name: str) -> Dict[str, Any]:

async def start_container(self, container_name: str) -> Dict[str, Any]:
"""Start a stopped container."""
return await self._post(f"/docker/container/{container_name}/start")
return await self._post(f"/docker/start-container/{container_name}")

async def stop_container(self, container_name: str) -> Dict[str, Any]:
"""Stop a running container."""
return await self._post(f"/docker/container/{container_name}/stop")
return await self._post(f"/docker/stop-container/{container_name}")

async def remove_container(self, container_name: str, force: bool = False) -> Dict[str, Any]:
"""Remove a container."""
Expand Down