From 3f6a75250d8251b0142248ed2f33f7d857ee21c8 Mon Sep 17 00:00:00 2001 From: Costa Tsaousis Date: Wed, 7 Sep 2022 15:28:30 +0300 Subject: Obsolete RRDSET state (#13635) * move chart_labels to rrdset * rename chart_labels to rrdlabels * renamed hash_id to uuid * turned is_ar_chart into an rrdset flag * removed rrdset state * removed unused senders_connected member of rrdhost * removed unused host flag RRDHOST_FLAG_MULTIHOST * renamed rrdhost host_labels to rrdlabels * Update exporting unit tests Co-authored-by: Vladimir Kobal --- health/health_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'health') diff --git a/health/health_log.c b/health/health_log.c index c20fb85e65..e1a8b66f42 100644 --- a/health/health_log.c +++ b/health/health_log.c @@ -75,7 +75,7 @@ inline void health_label_log_save(RRDHOST *host) { if(unlikely(host->health_log_fp)) { BUFFER *wb = buffer_create(1024); - rrdlabels_to_buffer(localhost->host_labels, wb, "", "=", "", "\t ", NULL, NULL, NULL, NULL); + rrdlabels_to_buffer(localhost->rrdlabels, wb, "", "=", "", "\t ", NULL, NULL, NULL, NULL); char *write = (char *) buffer_tostring(wb); if (unlikely(fprintf(host->health_log_fp, "L\t%s", write) < 0)) -- cgit v1.2.3