From 79510a826c00d4667fc81c3baf40c045aa105329 Mon Sep 17 00:00:00 2001 From: gimoh Date: Wed, 6 May 2015 13:20:36 +0100 Subject: [PATCH] Fix ``get_deployed_containers`` when no name specified Previous fix missed one remaining instance of ``i``. --- cloud/docker/docker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/docker/docker.py b/cloud/docker/docker.py index bdd6f93e1a4..5534a8eb3a3 100644 --- a/cloud/docker/docker.py +++ b/cloud/docker/docker.py @@ -1136,7 +1136,7 @@ class DockerManager(object): name_list = [] matches = name in name_list else: - details = self.client.inspect_container(i['Id']) + details = self.client.inspect_container(container['Id']) details = _docker_id_quirk(details) running_image = normalize_image(details['Config']['Image'])