Merge pull request #1958 from omriiluz/Bugfix-for-1957

No need for .keys on volumes list
reviewable/pr18780/r1
Brian Coca 10 years ago
commit bc6a8761a1

@ -1020,7 +1020,7 @@ class DockerManager(object):
expected_volume_keys = set((image['ContainerConfig']['Volumes'] or {}).keys())
if self.volumes:
expected_volume_keys.update(self.volumes.keys())
expected_volume_keys.update(self.volumes)
actual_volume_keys = set((container['Config']['Volumes'] or {}).keys())

Loading…
Cancel
Save