api: scan: note that USB is depreacated

It now got moved in /nodes/<node>/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 <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2020-12-02 11:31:03 +01:00
parent a57101434b
commit 405b247168

View File

@ -48,6 +48,7 @@ __PACKAGE__->register_method({
{ method => 'lvm' },
{ method => 'nfs' },
{ method => 'pbs' },
# FIXME: remove with 7.0 (replaced by /nodes/<node>/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/<node>/hardware/usb)
__PACKAGE__->register_method({
name => 'usbscan',
path => 'usb',