mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Merge pull request #1010 from bfirsh/add-create-message-when-scaling-containers
Log "creating container" when scaling
This commit is contained in:
commit
8076c7d7fe
@ -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 = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user