mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 16:14:21 +02:00
fix from previous commit
This commit is contained in:
parent
29f9437dbc
commit
c40865837c
@ -1147,13 +1147,11 @@ sub apply_perfdata_extend {
|
||||
if ($extend->{type} == 1) {
|
||||
$self->{perfdatas}->[$i] = $new_perf;
|
||||
} else {
|
||||
push @$new_pfdata, $new_perf;
|
||||
push @$new_pfdata, $new_perf if (length($new_perf->{value}));
|
||||
}
|
||||
}
|
||||
|
||||
if (length($new_pfdata->{value})) {
|
||||
push @{$self->{perfdatas}}, @$new_pfdata;
|
||||
}
|
||||
push @{$self->{perfdatas}}, @$new_pfdata;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user