Commit b447ad05 authored by Riley Berton's avatar Riley Berton Committed by David McKay

Nested TOML tables should only be surrounded by a single bracket.

parent c41e0320
apiVersion: v1 apiVersion: v1
name: telegraf name: telegraf
version: 1.7.27 version: 1.7.28
appVersion: 1.15 appVersion: 1.15
deprecated: false deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics. description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
...@@ -134,7 +134,7 @@ app.kubernetes.io/instance: {{ .Release.Name }} ...@@ -134,7 +134,7 @@ app.kubernetes.io/instance: {{ .Release.Name }}
{{- range $key, $value := $config -}} {{- range $key, $value := $config -}}
{{- $tp := typeOf $value -}} {{- $tp := typeOf $value -}}
{{- if eq $tp "map[string]interface {}" }} {{- if eq $tp "map[string]interface {}" }}
[[outputs.{{ $output }}.{{ $key }}]] [outputs.{{ $output }}.{{ $key }}]
{{- range $k, $v := $value }} {{- range $k, $v := $value }}
{{- $tps := typeOf $v }} {{- $tps := typeOf $v }}
{{- if eq $tps "string" }} {{- 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