mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-24 09:57:09 +00:00
Bugfix warning messages
Odd number of elements in hash assignment at /etc/munin/plugins/varnish_bans line 884. Use of uninitialized value $ident in hash element at /etc/munin/plugins/varnish_bans line 927.
This commit is contained in:
parent
d658c583e8
commit
cc15e33453
1 changed files with 1 additions and 1 deletions
|
@ -923,7 +923,7 @@ sub xml_commit_state
|
|||
if ($key eq 'flag') {
|
||||
$data = translate_type($data);
|
||||
}
|
||||
if (defined($type) and $type ne '' and defined($ident) and $ident ne '') {
|
||||
if (defined($type) and $type ne "" and defined($ident) and $ident ne "") {
|
||||
$data{$type}{$ident}{$name}{$key} = $data;
|
||||
} else {
|
||||
$data{$name}{$key} = $data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue