Skip to content

Commit

Permalink
fix(outputs.zabbix): typo last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianlzt committed Nov 30, 2023
1 parent f38f942 commit 376c825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/outputs/zabbix/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, ","))
}

Expand Down

0 comments on commit 376c825

Please sign in to comment.