Skip to content

Commit f7bf766

Browse files
committed
refactor(2018.3.3): use tojson
1 parent 86d6ff9 commit f7bf766

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

template/config/file.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ template-config-file-file-managed:
2525
- require:
2626
- sls: {{ sls_package_install }}
2727
- context:
28-
template: {{ template | json }}
28+
template: {{ template | tojson }}

template/files/default/example.tmpl.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
This is another example file from SaltStack template-formula.
77

88
# This is here for testing purposes
9-
{{ template | json }}
9+
{{ template | tojson }}
1010

1111
winner of the merge: {{ template['winner'] }}

0 commit comments

Comments
 (0)