Commit f6a64ca4 authored by Daniele Venzano's avatar Daniele Venzano

Change label argument passing

parent 6434a789
...@@ -59,7 +59,7 @@ class DockerStateSynchronizer(threading.Thread): ...@@ -59,7 +59,7 @@ class DockerStateSynchronizer(threading.Thread):
time_start = time.time() time_start = time.time()
try: try:
my_engine = DockerClient(host_config) my_engine = DockerClient(host_config)
container_list = my_engine.list(only_label={'zoe_deployment_name': get_conf().deployment_name}) container_list = my_engine.list(only_label='zoe_deployment_name={}'.format(get_conf().deployment_name))
running_container_list = my_engine.list(status='running') running_container_list = my_engine.list(status='running')
info = my_engine.info() info = my_engine.info()
except ZoeException as e: except ZoeException as e:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment