From 376c8259bfdd4efb8189b9ce2f802f6f95ee6774 Mon Sep 17 00:00:00 2001 From: Adrian Lopez Date: Thu, 30 Nov 2023 10:52:21 +0100 Subject: [PATCH] fix(outputs.zabbix): typo last commit --- plugins/outputs/zabbix/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/outputs/zabbix/utils.go b/plugins/outputs/zabbix/utils.go index 55cc02d774658..35c4f3427163f 100644 --- a/plugins/outputs/zabbix/utils.go +++ b/plugins/outputs/zabbix/utils.go @@ -76,7 +76,7 @@ func (z Zabbix) buildZabbixMetric(metric telegraf.Metric, fieldName string, valu tagValues = append(tagValues, tag.Value) } - if len(tagsValues) != 0 { + if len(tagValues) != 0 { key = fmt.Sprintf("%v[%v]", key, strings.Join(tagValues, ",")) }