Unverified Commit b3197cc4 authored by Amber Salome's avatar Amber Salome Committed by GitHub

Fix rendering of input configuration. (#100)

* Fix rendering of input configuration. Nested TOML tables should only be surrounded by a single bracket. Fixes #97. Co-authored-by: 's avatarZac Bergquist <bergquistz@vmware.com> * Bump version Co-authored-by: 's avatarZac Bergquist <bergquistz@vmware.com>
parent ac405d84
apiVersion: v1
name: telegraf
version: 1.7.15
version: 1.7.16
appVersion: 1.14
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
......@@ -211,7 +211,7 @@ Create chart name and version as used by the chart label.
{{- range $key, $value := $config -}}
{{- $tp := typeOf $value -}}
{{- if eq $tp "map[string]interface {}" }}
[[inputs.{{ $input }}.{{ $key }}]]
[inputs.{{ $input }}.{{ $key }}]
{{- range $k, $v := $value }}
{{- $tps := typeOf $v }}
{{- if eq $tps "string" }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment