Explorar o código

Use name without project for log printing

Ben Firshman %!s(int64=11) %!d(string=hai) anos
pai
achega
a724aa5717
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      fig/cli/log_printer.py

+ 1 - 1
fig/cli/log_printer.py

@@ -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')