From 405b247168438de20799e70772a6e71877a69c6f Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 2 Dec 2020 11:31:03 +0100 Subject: [PATCH] api: scan: note that USB is depreacated It now got moved in /nodes//hardware/usb as envisioned[0], this allows to sunset the usb scan API endpoint here and drop it with 7.0 [0]: https://lists.proxmox.com/pipermail/pve-devel/2018-November/034694.html Signed-off-by: Thomas Lamprecht --- PVE/API2/Storage/Scan.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PVE/API2/Storage/Scan.pm b/PVE/API2/Storage/Scan.pm index 76fbd81..15b39b5 100644 --- a/PVE/API2/Storage/Scan.pm +++ b/PVE/API2/Storage/Scan.pm @@ -48,6 +48,7 @@ __PACKAGE__->register_method({ { method => 'lvm' }, { method => 'nfs' }, { method => 'pbs' }, + # FIXME: remove with 7.0 (replaced by /nodes//hardware/usb) { method => 'usb' }, { method => 'zfs' }, ]; @@ -447,6 +448,7 @@ __PACKAGE__->register_method({ return PVE::Storage::scan_zfs(); }}); +# FIXME: remove with 7.0 (replaced by /nodes//hardware/usb) __PACKAGE__->register_method({ name => 'usbscan', path => 'usb',