summaryrefslogtreecommitdiffstats
path: root/exporting/check_filters.c
diff options
context:
space:
mode:
Diffstat (limited to 'exporting/check_filters.c')
-rw-r--r--exporting/check_filters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exporting/check_filters.c b/exporting/check_filters.c
index 009a010b..9b573f02 100644
--- a/exporting/check_filters.c
+++ b/exporting/check_filters.c
@@ -65,7 +65,7 @@ int rrdset_is_exportable(struct instance *instance, RRDSET *st)
if(unlikely(!(*flags & RRDSET_FLAG_EXPORTING_SEND))) {
// we have not checked this chart
- if(simple_pattern_matches(instance->config.charts_pattern, rrdset_id(st)) || simple_pattern_matches(instance->config.charts_pattern, rrdset_name(st)))
+ if(simple_pattern_matches_string(instance->config.charts_pattern, st->id) || simple_pattern_matches_string(instance->config.charts_pattern, st->name))
*flags |= RRDSET_FLAG_EXPORTING_SEND;
else {
*flags |= RRDSET_FLAG_EXPORTING_IGNORE;