This commit is contained in:
garnier-quentin 2019-04-11 10:12:46 +02:00
parent bf3a89b9fb
commit 0c1d95d431
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ sub manage_selection {
read => $response->{data}->{$ds_id}->{'datastore.write.average'},
write => $response->{data}->{$ds_id}->{'datastore.read.average'},
};
$self->{global}->{read} += $response->{data}->{$ds_id}->{'datastore.write.average'} if (defined($response->{data}->{$ds_id}->{'datastore.write.average'}));
$self->{global}->{read} += $response->{data}->{$ds_id}->{'datastore.read.average'} if (defined($response->{data}->{$ds_id}->{'datastore.read.average'}));
$self->{global}->{write} += $response->{data}->{$ds_id}->{'datastore.write.average'} if (defined($response->{data}->{$ds_id}->{'datastore.write.average'}));
}
}