Fixed the multiline indicator usage that breaks the provisioning grafana
dashboards from local file.
Change-Id: If97f06119b10dad70eea74f68b180280978ad1c7
Issue-ID: ONAPARC-393
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
data:
{{- range $key, $value := $dashboards }}
{{- if (or (hasKey $value "json") (hasKey $value "file")) }}
-{{ print $key | indent 2 }}.json: |-
+{{ print $key | indent 2 }}.json:
{{- if hasKey $value "json" }}
-{{ $value.json | indent 4 }}
+ |-
+{{ $value.json | indent 6 }}
{{- end }}
{{- if hasKey $value "file" }}
{{ toYaml ( $files.Get $value.file ) | indent 4}}