datastore: relative path fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
bc4af01559
commit
30ccc3003e
|
@ -368,7 +368,7 @@ impl BackupDir {
|
|||
}
|
||||
|
||||
pub fn relative_path(&self) -> PathBuf {
|
||||
let mut path = self.store.namespace_path(&self.ns);
|
||||
let mut path = self.ns.path();
|
||||
path.push(self.dir.group.ty.as_str());
|
||||
path.push(&self.dir.group.id);
|
||||
path.push(&self.backup_time_string);
|
||||
|
|
Loading…
Reference in New Issue