Skip to content

Commit

Permalink
Using long format of YAML Functions to be compat with all YAML loaders
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPreston committed Sep 24, 2023
1 parent 7b47965 commit 7a7c3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecs_composex/common/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def define_body(self):
if isinstance(self.template, Template):
try:
if self.mime == YAML_MIME:
self.body = self.template.to_yaml()
self.body = self.template.to_yaml(clean_up=True, long_form=True)
else:
self.body = self.template.to_json()
except Exception as error:
Expand Down

0 comments on commit 7a7c3ef

Please sign in to comment.