Allow to see log also if there some process (#170)

This commit is contained in:
Pascal Vizeli 2017-08-24 22:23:24 +02:00 committed by GitHub
parent 7969f3dfd7
commit 6ab3fe18d9

View File

@ -241,9 +241,11 @@ class DockerInterface(object):
return True
@docker_process
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)
def _logs(self):