mirror of
https://github.com/docker/compose.git
synced 2025-07-26 07:04:32 +02:00
Use name without project for log printing
This commit is contained in:
parent
10725136d8
commit
a724aa5717
@ -31,7 +31,7 @@ class LogPrinter(object):
|
|||||||
return generators
|
return generators
|
||||||
|
|
||||||
def _make_log_generator(self, container, color_fn):
|
def _make_log_generator(self, container, color_fn):
|
||||||
prefix = color_fn(container.name + " | ")
|
prefix = color_fn(container.name_without_project + " | ")
|
||||||
# Attach to container before log printer starts running
|
# Attach to container before log printer starts running
|
||||||
line_generator = split_buffer(self._attach(container), '\n')
|
line_generator = split_buffer(self._attach(container), '\n')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user