fix(plugin) purestorage pgroup undefined value

Close https://github.com/centreon/centreon-plugins/issues/1658
This commit is contained in:
Simon Bomm 2019-09-26 17:15:59 +02:00 committed by GitHub
parent dd00c9b4e9
commit b083bb5250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ sub manage_selection {
$self->{pgroup}->{$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},
data_transferred => $entry->{data_transferred},
creation_seconds => $creation_seconds,