mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-23 01:08:54 +00:00
Fix TypeError when reading Docker container logs. Ref #2522
This commit is contained in:
@ -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):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user