diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2022-09-07 15:28:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-07 15:28:30 +0300 |
commit | 3f6a75250d8251b0142248ed2f33f7d857ee21c8 (patch) | |
tree | f8fd7544a2fb509b295e6bd5267baab6014bc787 /database/rrdcalctemplate.c | |
parent | 17e0676b5bb6b11ad9aec705ade05163dcc2de31 (diff) |
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 <vlad@prokk.net>
Diffstat (limited to 'database/rrdcalctemplate.c')
-rw-r--r-- | database/rrdcalctemplate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/rrdcalctemplate.c b/database/rrdcalctemplate.c index 4ba96082ac..0db76d6c04 100644 --- a/database/rrdcalctemplate.c +++ b/database/rrdcalctemplate.c @@ -27,7 +27,7 @@ void rrdcalctemplate_check_conditions_and_link(RRDCALCTEMPLATE *rt, RRDSET *st, if (rt->plugin_pattern && !simple_pattern_matches(rt->plugin_pattern, rrdset_plugin_name(st))) return; - if(host->host_labels && rt->host_labels_pattern && !rrdlabels_match_simple_pattern_parsed(host->host_labels, rt->host_labels_pattern, '=')) + if(host->rrdlabels && rt->host_labels_pattern && !rrdlabels_match_simple_pattern_parsed(host->rrdlabels, rt->host_labels_pattern, '=')) return; RRDCALC *rc = rrdcalc_create_from_template(host, rt, rrdset_id(st)); |