]> git.proxmox.com Git - pve-manager.git/commit
vzdump: make guest include logic testable
authorAaron Lauterer <a.lauterer@proxmox.com>
Mon, 8 Jun 2020 13:00:34 +0000 (15:00 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Jun 2020 13:54:42 +0000 (15:54 +0200)
commit5c4da4c3e8108d584421aa3ba9e23f5f0c55efa6
treee94fc87fb5edcd2e3487463ded9f524ad1e87009
parent9c3a51ee226f9b168c43646278dff26d6c9fb866
vzdump: make guest include logic testable

As a first step to make the whole guest include logic more testable the
part from the API endpoint has been moved to its own method with as
little changes as possible.

Everything concerning `all` and `exclude` logic is still in the
PVE::VZDump->exec_backup() method.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
PVE/API2/VZDump.pm
PVE/VZDump.pm