]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage.pm
migrate: cleanup & fixup
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 23 May 2017 10:30:19 +0000 (12:30 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 23 May 2017 11:30:51 +0000 (13:30 +0200)
commitb57a863a0f8cc7bab9e908f887c87ebe98ea047a
treea52b648c7bd2a00c476b2bbcf8215522ca3efe2f
parent5259593842329645e1ebce58e480b0fea0d001ec
migrate: cleanup & fixup

The volume_snapshot call was missing the condition when to
create a snapshot. Make the whole logic easier to follow
with a $migration_snapshot boolean.
Also get rid of the remote `pvesm free -snapshot` call by
using import's new -delete-snapshot parameter.
PVE/Storage.pm