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:
parent
eb37d4ece2
commit
426dda0730
|
@ -231,7 +231,7 @@ impl RRA {
|
||||||
|
|
||||||
let mut list = Vec::new();
|
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 rrd_start = rrd_end.saturating_sub(reso*num_entries);
|
||||||
|
|
||||||
let mut t = start;
|
let mut t = start;
|
||||||
|
|
Loading…
Reference in New Issue