Skip to content

Commit 1a52852

Browse files
committed
fix yaml dump format
Signed-off-by: Sylvain Hellegouarch <[email protected]>
1 parent f64ae78 commit 1a52852

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
- fixed `chaosaws.s3.controls.upload` so it uploads the journal as a file
1313
- fixed `chaosaws.s3.controls.upload` so the timestamp is generated
14+
- changed `chaosaws.s3.controls.upload`, use old style when dumping as YAML
1415

1516

1617
## [0.20.0][] - 2022-07-11

chaosaws/s3/controls/upload.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def after_experiment_control(
5858
ext = "json"
5959
if as_yaml:
6060
ext = "yaml"
61-
state = yaml.safe_dump(state, indent=False, default_flow_style=True)
61+
state = yaml.safe_dump(state, indent=False, default_flow_style=False)
6262
else:
6363
state = json.dumps(state, indent=False)
6464

0 commit comments

Comments
 (0)