mirror of
https://github.com/docker/compose.git
synced 2025-07-26 07:04:32 +02:00
Fix network list serialization in py3
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
353da73eab
commit
6ac6860dda
@ -472,7 +472,7 @@ class Service(object):
|
|||||||
'image_id': self.image()['Id'],
|
'image_id': self.image()['Id'],
|
||||||
'links': self.get_link_names(),
|
'links': self.get_link_names(),
|
||||||
'net': self.network_mode.id,
|
'net': self.network_mode.id,
|
||||||
'networks': self.networks.keys(),
|
'networks': list(self.networks.keys()),
|
||||||
'volumes_from': [
|
'volumes_from': [
|
||||||
(v.source.name, v.mode)
|
(v.source.name, v.mode)
|
||||||
for v in self.volumes_from if isinstance(v.source, Service)
|
for v in self.volumes_from if isinstance(v.source, Service)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user