Display containers name when scale a container

Display in the log output the name of those containers created using the scale command and
change the test_scale_with_api_error test to support the containers name when scale

Signed-off-by: Jesus Rodriguez Tinoco <jesus.rodriguez.tinoco@gmail.com>
This commit is contained in:
Jesus 2016-02-27 18:25:54 +01:00 committed by Jesus Tinoco
commit 6bfb23baaa
2 changed files with 2 additions and 2 deletions

View file

@ -223,7 +223,7 @@ class Service(object):
parallel_execute(
container_numbers,
lambda n: create_and_start(service=self, number=n),
lambda n: n,
lambda n: self.get_container_name(n),
"Creating and starting"
)