summaryrefslogtreecommitdiffstats
path: root/streaming
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2020-04-03 10:26:51 +0000
committerGitHub <noreply@github.com>2020-04-03 10:26:51 +0000
commit56ac19d8afd49f200fb2bd954d2f5bcd56c920cf (patch)
tree0e7e537097826a232aaa9562e01d69c8804078e1 /streaming
parentf1177cc4f678e3ee0fe2e92dc199122d4c8348f2 (diff)
cove355076: Config per section (#8588)
This commit brings the possibility to search an option directly when we already have a section
Diffstat (limited to 'streaming')
-rw-r--r--streaming/rrdpush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/rrdpush.c b/streaming/rrdpush.c
index d99a2be19d..cd7b3b93e2 100644
--- a/streaming/rrdpush.c
+++ b/streaming/rrdpush.c
@@ -174,7 +174,7 @@ int configured_as_master() {
uuid_t uuid;
if (uuid_parse(section->name, uuid) != -1 &&
- appconfig_get_boolean(&stream_config, section->name, "enabled", 0)) {
+ appconfig_get_boolean_by_section(section, "enabled", 0)) {
is_master = 1;
break;
}