fixed to not treat option 'graph_name' as special as it ends up duplicating graphs #383

This commit is contained in:
Jordi Sanfeliu 2022-01-17 09:33:57 +01:00
parent cd5d991927
commit d13bb54c0e
1 changed files with 6 additions and 5 deletions

View File

@ -290,11 +290,12 @@ if($config{include_dir} && opendir(DIR, $config{include_dir})) {
next;
}
# graph_name option is special
if($key eq "graph_name") {
$config{graph_name} .= ", $val";
delete $config_inc{graph_name};
next;
}
#if($key eq "graph_name") {
# $config{graph_name} .= ", $val";
# delete $config_inc{graph_name};
# next;
#}
# one level options
$config{$key} = $val;
delete $config_inc{$key};