浏览代码

Use name without project for log printing

Ben Firshman 11 年之前
父节点
当前提交
a724aa5717
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fig/cli/log_printer.py

+ 1 - 1
fig/cli/log_printer.py

@@ -31,7 +31,7 @@ class LogPrinter(object):
         return generators
 
     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
         line_generator = split_buffer(self._attach(container), '\n')