'fig logs' shows output for stopped containers
This commit is contained in:
parent
f448a841c5
commit
b92e998929
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ class TopLevelCommand(Command):
|
||||||
|
|
||||||
Usage: logs [SERVICE...]
|
Usage: logs [SERVICE...]
|
||||||
"""
|
"""
|
||||||
containers = self.project.containers(service_names=options['SERVICE'], stopped=False)
|
containers = self.project.containers(service_names=options['SERVICE'], stopped=True)
|
||||||
print("Attaching to", list_containers(containers))
|
print("Attaching to", list_containers(containers))
|
||||||
LogPrinter(containers, attach_params={'logs': True}).run()
|
LogPrinter(containers, attach_params={'logs': True}).run()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue