diff --git a/proxmox-rrd/src/rrd.rs b/proxmox-rrd/src/rrd.rs index c97be96d4..328ac9f28 100644 --- a/proxmox-rrd/src/rrd.rs +++ b/proxmox-rrd/src/rrd.rs @@ -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;