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

No need for .keys on volumes list
This commit is contained in:
Brian Coca 2015-08-23 14:01:47 -04:00
commit bc6a8761a1

View file

@ -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())