Fix `get_deployed_containers` when no name specified

Previous fix missed one remaining instance of ``i``.
This commit is contained in:
gimoh 2015-05-06 13:20:36 +01:00
parent ec5cd89d7c
commit 79510a826c

View file

@ -1136,7 +1136,7 @@ class DockerManager(object):
name_list = [] name_list = []
matches = name in name_list matches = name in name_list
else: else:
details = self.client.inspect_container(i['Id']) details = self.client.inspect_container(container['Id'])
details = _docker_id_quirk(details) details = _docker_id_quirk(details)
running_image = normalize_image(details['Config']['Image']) running_image = normalize_image(details['Config']['Image'])