Fix TypeError when reading Docker container logs. Ref #2522

This commit is contained in:
grossmj committed 2025-04-18 13:47:29 +07:00
1 parent 0e89ff56a8
commit d06f93e772
1 file changed
+1 -1
+1 -1
View File
@@ -1202,7 +1202,7 @@ class DockerVM(BaseNode):
"""
result = await self.manager.query("GET", "containers/{}/logs".format(self._cid), params={"stderr": 1, "stdout": 1})
return result
return result.decode('utf-8', errors='ignore').strip()
async def delete(self):
"""