Fixes #1757 - include all service properties in the config_dict()

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
Daniel Nephin 2015-09-01 19:40:15 -04:00
commit c183e52502
3 changed files with 67 additions and 1 deletions

View file

@ -488,6 +488,9 @@ class Service(object):
return {
'options': self.options,
'image_id': self.image()['Id'],
'links': [(service.name, alias) for service, alias in self.links],
'net': self.get_net_name() or getattr(self.net, 'id', self.net),
'volumes_from': self.get_volumes_from_names(),
}
def get_dependency_names(self):