diff options
author | Vladimir Kobal <vlad@prokk.net> | 2021-04-21 10:50:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 10:50:06 +0300 |
commit | 157fb5860a61c4472c2bc3ba11f2dd8712d9c845 (patch) | |
tree | b3ad0d016f1765dc9b00fffb055d06aebb6c0c4a /exporting/check_filters.c | |
parent | 9d481060489110db52dcd0f8d7e22196c70742c0 (diff) |
Backend chart filtering backward compatibility fix (#11002)
Diffstat (limited to 'exporting/check_filters.c')
-rw-r--r-- | exporting/check_filters.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/exporting/check_filters.c b/exporting/check_filters.c index 8d70c6f68d..64ced7238c 100644 --- a/exporting/check_filters.c +++ b/exporting/check_filters.c @@ -50,15 +50,15 @@ int rrdset_is_exportable(struct instance *instance, RRDSET *st) RRDSET_FLAGS *flags = &st->exporting_flags[instance->index]; - if(unlikely(*flags & RRDSET_FLAG_BACKEND_IGNORE)) + if(unlikely(*flags & RRDSET_FLAG_EXPORTING_IGNORE)) return 0; - if(unlikely(!(*flags & RRDSET_FLAG_BACKEND_SEND))) { + if(unlikely(!(*flags & RRDSET_FLAG_EXPORTING_SEND))) { // we have not checked this chart if(simple_pattern_matches(instance->config.charts_pattern, st->id) || simple_pattern_matches(instance->config.charts_pattern, st->name)) - *flags |= RRDSET_FLAG_BACKEND_SEND; + *flags |= RRDSET_FLAG_EXPORTING_SEND; else { - *flags |= RRDSET_FLAG_BACKEND_IGNORE; + *flags |= RRDSET_FLAG_EXPORTING_IGNORE; debug(D_BACKEND, "BACKEND: not sending chart '%s' of host '%s', because it is disabled for backends.", st->id, host->hostname); return 0; } |