浏览代码

Fix missing logging on container creation

Signed-off-by: Aanand Prasad <[email protected]>
Aanand Prasad 10 年之前
父节点
当前提交
30c9e7323a
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      compose/service.py

+ 3 - 0
compose/service.py

@@ -215,6 +215,9 @@ class Service(object):
             previous_container=previous_container,
         )
 
+        if 'name' in container_options:
+            log.info("Creating %s..." % container_options['name'])
+
         return Container.create(self.client, **container_options)
 
     def ensure_image_exists(self,