proxmox-rrd: extract_data: include values from current slot

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Dietmar Maurer 2021-10-13 10:24:43 +02:00 committed by Thomas Lamprecht
parent eb37d4ece2
commit 426dda0730
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ impl RRA {
let mut list = Vec::new();
let rrd_end = reso*(last_update/reso);
let rrd_end = reso*(last_update/reso + 1);
let rrd_start = rrd_end.saturating_sub(reso*num_entries);
let mut t = start;