Skip to content

Commit 92d4e33

Browse files
authored
fix yaml list in nomad_plugins (#152)
There is no simple solution for converting yaml to hcl2. This is a work arround until a real converter is availible. This is related to #127.
1 parent d995b92 commit 92d4e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/client.hcl.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ client {
9090

9191
{% for key, value in nomad_plugins.items() %}
9292
plugin "{{ key }}" {
93-
{{ plugin_config(value) }}
93+
{{ plugin_config(value) | replace('\'', '\"') }}
9494
}
9595
{% endfor %}

0 commit comments

Comments
 (0)