mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-23 13:45:18 +02:00
fix(plugin) purestorage pgroup undefined value
Close https://github.com/centreon/centreon-plugins/issues/1658
This commit is contained in:
parent
b0a46b5dc9
commit
6443c4a6af
@ -140,7 +140,7 @@ sub manage_selection {
|
|||||||
|
|
||||||
$self->{pgroup}->{$pgroup_name} = {
|
$self->{pgroup}->{$pgroup_name} = {
|
||||||
display => $pgroup_name,
|
display => $pgroup_name,
|
||||||
progress => $entry->{progress} * 100,
|
progress => defined($entry->{progress}) ? $entry->{progress} * 100 : 0.0,
|
||||||
physical_bytes_written => $entry->{physical_bytes_written},
|
physical_bytes_written => $entry->{physical_bytes_written},
|
||||||
data_transferred => $entry->{data_transferred},
|
data_transferred => $entry->{data_transferred},
|
||||||
creation_seconds => $creation_seconds,
|
creation_seconds => $creation_seconds,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user