mirror of https://github.com/docker/compose.git
Merge pull request #2939 from AvdN/patch-2
for 1.6.0 the version value needs to be a string
This commit is contained in:
commit
89108f2a0f
|
@ -33,7 +33,7 @@ def migrate(content):
|
||||||
|
|
||||||
services = {name: data.pop(name) for name in data.keys()}
|
services = {name: data.pop(name) for name in data.keys()}
|
||||||
|
|
||||||
data['version'] = 2
|
data['version'] = "2"
|
||||||
data['services'] = services
|
data['services'] = services
|
||||||
create_volumes_section(data)
|
create_volumes_section(data)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue