Merge pull request #3128 from dnephin/add_network_settings_to_config_hash

Include network settings as part of the service config hash.
This commit is contained in:
Aanand Prasad 2016-03-23 17:01:32 +00:00
commit c3eca82749
3 changed files with 9 additions and 4 deletions

View file

@ -498,7 +498,7 @@ class Service(object):
'image_id': self.image()['Id'],
'links': self.get_link_names(),
'net': self.network_mode.id,
'networks': list(self.networks.keys()),
'networks': self.networks,
'volumes_from': [
(v.source.name, v.mode)
for v in self.volumes_from if isinstance(v.source, Service)