]> git.proxmox.com Git - pve-manager.git/commit
pvesr: prepare_local_job: use PVE::replication::prepare
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 8 Jun 2017 09:07:35 +0000 (11:07 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 8 Jun 2017 09:13:47 +0000 (11:13 +0200)
commitd8cd8e8cf9795dc9c2462a67e9ef89ad31759796
tree57a9827de5af399d89016fb43f4e2bf70717e11c
parentfa64c3fb0e62ed6a2657e494412fef4275f474f5
pvesr: prepare_local_job: use PVE::replication::prepare

to reduce code duplication. this slightly changes behaviour
compared to the previous version:

only disks with the correct prefix are cleaned up, not all
disks with __replication* snapshots.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/CLI/pvesr.pm