update to first proxmox crate split
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
@ -10,6 +10,7 @@ anyhow = "1.0"
|
||||
bitflags = "1.2.1"
|
||||
log = "0.4"
|
||||
|
||||
proxmox = { version = "0.14.0", features = ["api-macro"] }
|
||||
proxmox = { version = "0.14.0" }
|
||||
proxmox-time = "1"
|
||||
|
||||
proxmox-rrd-api-types = { path = "../proxmox-rrd-api-types" }
|
||||
|
@ -62,7 +62,7 @@ impl RRDCache {
|
||||
create_path(path.parent().unwrap(), Some(self.dir_options.clone()), Some(self.file_options.clone()))?;
|
||||
|
||||
let mut map = self.cache.write().unwrap();
|
||||
let now = proxmox::tools::time::epoch_f64();
|
||||
let now = proxmox_time::epoch_f64();
|
||||
|
||||
if let Some(rrd) = map.get_mut(rel_path) {
|
||||
rrd.update(now, value);
|
||||
|
Reference in New Issue
Block a user