]> git.proxmox.com Git - proxmox-backup.git/commit
fix: datastore: make relative_group_path() return relative path
authorStefan Sterz <s.sterz@proxmox.com>
Wed, 24 Aug 2022 12:48:25 +0000 (14:48 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Sep 2022 08:02:46 +0000 (10:02 +0200)
commita756b0c1a1a293fbd77a8ed010d1754106feda89
treea7cfef2415b39e00e17306bbf260426cc1ecccbb
parenta554ac19501463cca28ac43a224b4c13dec6cd0c
fix: datastore: make relative_group_path() return relative path

previously the BackGroup trait used the datastore's
namespace_path() method to construct a base path. this would result in
it returning an absolute path equivalent to full_group_path(). use
the namspace's path() method instead to get a relative path, in-line
with backup_dir's relative_path().

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
pbs-datastore/src/backup_info.rs