]> git.proxmox.com Git - pve-storage.git/commit
factor out scan CLI definition to real API module
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 1 Dec 2020 16:15:35 +0000 (17:15 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 1 Dec 2020 18:22:47 +0000 (19:22 +0100)
commit2892b6739da49b3753d600899aba3bb19191cc8e
tree347e35a1d0a9b719fca9a1bbf9c3e53eab474f16
parent2cd10f58be623764bf367d326085673f376f4948
factor out scan CLI definition to real API module

we have a 1:1 copy of that code in pve-manager's PVE::API2::Scan,
which we can avoid by using a common module form pvesm CLI and the
API.

This is the first basic step of dropping the code duplication in
pve-manager.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Storage/Makefile
PVE/API2/Storage/Scan.pm [new file with mode: 0644]
PVE/CLI/pvesm.pm