mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-04-24 04:55:47 +00:00
Fix TypeError when reading Docker container logs. Ref #2522
This commit is contained in:
parent
0e89ff56a8
commit
d06f93e772
@ -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):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user