Преглед на файлове

Merge pull request #1446 from aanand/fix-create-logging

Fix missing logging on container creation
Daniel Nephin преди 10 години
родител
ревизия
93c529182e
променени са 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,