Get rid of extra semicolon in Graphite exporting (#13261)
Vladimir Kobal committed
Jun 29, 2022 at 19:25 UTC
a1b18adc0725a5aa27c903a585cc0c239f15bbf5
1 file changed
+1
-2
exporting/graphite/graphite.c
+1
-2
@@ -100,8 +100,7 @@ int format_host_labels_graphite_plaintext(struct instance *instance, RRDHOST *ho
100
if (unlikely(!sending_labels_configured(instance)))
101
return 0;
102
103
- buffer_strcat(instance->labels_buffer, ";");
104
- rrdlabels_to_buffer(host->host_labels, instance->labels_buffer, "", "=", "", ";",
103
+ rrdlabels_to_buffer(host->host_labels, instance->labels_buffer, ";", "=", "", "",
104
exporting_labels_filter_callback, instance,
105
NULL, sanitize_graphite_label_value);
106