diff --git a/proxmox-rrd/src/cache.rs b/proxmox-rrd/src/cache.rs index 08e91c9c..1084a037 100644 --- a/proxmox-rrd/src/cache.rs +++ b/proxmox-rrd/src/cache.rs @@ -41,7 +41,7 @@ impl RRDCache { /// Create rrdd stat dir with correct permission pub fn create_rrdb_dir(&self) -> Result<(), Error> { - create_path(&self.basedir, Some(self.dir_options.clone()), Some(self.file_options.clone())) + create_path(&self.basedir, Some(self.dir_options.clone()), Some(self.dir_options.clone())) .map_err(|err: Error| format_err!("unable to create rrdb stat dir - {}", err))?; Ok(())