mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-27 02:56:31 +00:00
Allow to see log also if there some process (#170)
This commit is contained in:
parent
7969f3dfd7
commit
6ab3fe18d9
@ -241,9 +241,11 @@ class DockerInterface(object):
|
|||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@docker_process
|
|
||||||
def logs(self):
|
def logs(self):
|
||||||
"""Return docker logs of container."""
|
"""Return docker logs of container.
|
||||||
|
|
||||||
|
Return a Future.
|
||||||
|
"""
|
||||||
return self.loop.run_in_executor(None, self._logs)
|
return self.loop.run_in_executor(None, self._logs)
|
||||||
|
|
||||||
def _logs(self):
|
def _logs(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user