This commit is contained in:
Jerome Petazzoni
2015-06-08 11:08:50 -07:00
parent b5705adbb4
commit 38fc41e991

View File

@@ -32,6 +32,8 @@ for service_name, service in stack.items():
links[service_name] = []
links[service_name].append(link)
del service["links"]
if "ports" in service:
del service["ports"]
yaml.safe_dump(stack, open(output_file, "w"))