proxmox-rrd: fix update (do not update) when time is in the past

This commit is contained in:
Dietmar Maurer 2021-10-06 18:00:37 +02:00
parent f66d66aafe
commit 18e8bc17e4

View File

@ -131,6 +131,7 @@ impl RRA {
if time <= self.last_update {
eprintln!("rrdb update failed - time in past ({} < {})", time, self.last_update);
return;
}
if value.is_nan() {