]> git.proxmox.com Git - pve-manager.git/commit
ceph: fix edge case of wrong files being deleted on purge
authorMax Carrara <m.carrara@proxmox.com>
Mon, 5 Feb 2024 17:54:16 +0000 (18:54 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 12 Feb 2024 13:05:08 +0000 (14:05 +0100)
commit68b6c239567145c5571bbc40d8f933fd83249180
tree3a801f083a2ad9d3c7763ff5da645794d8548b95
parent1e5f1bc8f1c7ca0ce1bad2ccc5b0a218ba9a440e
ceph: fix edge case of wrong files being deleted on purge

Having a file named e.g. "60" in your current directory will cause it
to be deleted when executing `pveceph purge`. This commit fixes that
by making the config hash differ between which values represent file
paths and which don't.

Signed-off-by: Max Carrara <m.carrara@proxmox.com>
PVE/Ceph/Tools.pm