Fix `get_deployed_containers
` when no name specified
Previous fix missed one remaining instance of ``i``.
This commit is contained in:
parent
ec5cd89d7c
commit
79510a826c
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||||
|
|
Loading…
Reference in a new issue