From b3a67f1f1446eba012b1b45d14bde9c1c65e294d Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 7 Oct 2021 08:50:50 +0200 Subject: [PATCH] proxmox-rrd: use correct directory options in create_rrdb_dir --- proxmox-rrd/src/cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(())