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

Merge pull request #1010 from bfirsh/add-create-message-when-scaling-containers

Log "creating container" when scaling
Aanand Prasad преди 10 години
родител
ревизия
8076c7d7fe
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      compose/service.py

+ 1 - 0
compose/service.py

@@ -178,6 +178,7 @@ class Service(object):
         # Create enough containers
         containers = self.containers(stopped=True)
         while len(containers) < desired_num:
+            log.info("Creating %s..." % self._next_container_name(containers))
             containers.append(self.create_container(detach=True))
 
         running_containers = []