diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2023-07-04 14:29:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-04 14:29:40 +0300 |
commit | dfe70ab6b286ac097d2af416216b2b723115c723 (patch) | |
tree | f5681a45f11bb502347c24d3524272fbe5db472e /collectors/plugins.d | |
parent | d594a22beab55e0b32809b05d5a39d6cfd1de7a1 (diff) |
Release acquired dimensions (#15307)
Diffstat (limited to 'collectors/plugins.d')
-rw-r--r-- | collectors/plugins.d/pluginsd_parser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/collectors/plugins.d/pluginsd_parser.c b/collectors/plugins.d/pluginsd_parser.c index d7c4d137e1..08331bcbde 100644 --- a/collectors/plugins.d/pluginsd_parser.c +++ b/collectors/plugins.d/pluginsd_parser.c @@ -529,8 +529,10 @@ static inline PARSER_RC pluginsd_chart(char **words, size_t num_words, PARSER *p if (likely(st)) { if (options && *options) { - if (strstr(options, "obsolete")) + if (strstr(options, "obsolete")) { + pluginsd_rrdset_cleanup(st); rrdset_is_obsolete(st); + } else rrdset_isnot_obsolete(st); |