diff options
author | Vladimir Kobal <vlad@prokk.net> | 2022-06-29 19:25:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 19:25:51 +0300 |
commit | a1b18adc0725a5aa27c903a585cc0c239f15bbf5 (patch) | |
tree | 4dd123f8cb31aba496f2992d4b210776d77427a1 /exporting/graphite | |
parent | 2fc0aaca9a27520c874756b16d95794457ed6ac9 (diff) |
Get rid of extra semicolon in Graphite exporting (#13261)
Diffstat (limited to 'exporting/graphite')
-rw-r--r-- | exporting/graphite/graphite.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/exporting/graphite/graphite.c b/exporting/graphite/graphite.c index f5966bf489..33b80c16cd 100644 --- a/exporting/graphite/graphite.c +++ b/exporting/graphite/graphite.c @@ -100,8 +100,7 @@ int format_host_labels_graphite_plaintext(struct instance *instance, RRDHOST *ho if (unlikely(!sending_labels_configured(instance))) return 0; - buffer_strcat(instance->labels_buffer, ";"); - rrdlabels_to_buffer(host->host_labels, instance->labels_buffer, "", "=", "", ";", + rrdlabels_to_buffer(host->host_labels, instance->labels_buffer, ";", "=", "", "", exporting_labels_filter_callback, instance, NULL, sanitize_graphite_label_value); |