Révision cc15e334
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.
| plugins/varnish4/varnish4_ | ||
|---|---|---|
| 923 | 923 |
if ($key eq 'flag') {
|
| 924 | 924 |
$data = translate_type($data); |
| 925 | 925 |
} |
| 926 |
if (defined($type) and $type ne '' and defined($ident) and $ident ne '') {
|
|
| 926 |
if (defined($type) and $type ne "" and defined($ident) and $ident ne "") {
|
|
| 927 | 927 |
$data{$type}{$ident}{$name}{$key} = $data;
|
| 928 | 928 |
} else {
|
| 929 | 929 |
$data{$name}{$key} = $data
|
Formats disponibles : Unified diff