mirror of https://github.com/mikaku/Monitorix.git
fixed to not treat option 'graph_name' as special as it ends up duplicating graphs
This commit is contained in:
parent
a64381853b
commit
1f44f69b84
11
monitorix
11
monitorix
|
@ -602,11 +602,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{$key};
|
||||
# next;
|
||||
#}
|
||||
|
||||
# one level options
|
||||
$config{$key} = $val;
|
||||
delete $config_inc{$key};
|
||||
|
|
Loading…
Reference in New Issue