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 9a052a3 commit 9b41a31Copy full SHA for 9b41a31
services/agent/src/simcore_service_agent/services/backup.py
@@ -127,7 +127,8 @@ async def _get_self_container() -> str:
127
response = await client.get("http://localhost/containers/json")
128
for entry in response.json():
129
if ip in json.dumps(entry):
130
- return entry["Id"]
+ container_id: str = entry["Id"]
131
+ return container_id
132
133
msg = "Could not determine self container ID"
134
raise RuntimeError(msg)
0 commit comments