We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f8cd50 commit 812008dCopy full SHA for 812008d
services/agent/src/simcore_service_agent/services/backup.py
@@ -121,8 +121,9 @@ def _get_self_container_ip() -> str:
121
async def _get_self_container() -> str:
122
ip = _get_self_container_ip()
123
124
- transport = httpx.AsyncHTTPTransport(uds="/var/run/docker.sock")
125
- async with httpx.AsyncClient(transport=transport) as client:
+ async with httpx.AsyncClient(
+ transport=httpx.AsyncHTTPTransport(uds="/var/run/docker.sock")
126
+ ) as client:
127
response = await client.get("http://localhost/containers/json")
128
for entry in response.json():
129
if ip in json.dumps(entry):
0 commit comments