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:
@ -48,6 +48,7 @@ __PACKAGE__->register_method({
|
|||||||
{ method => 'lvm' },
|
{ method => 'lvm' },
|
||||||
{ method => 'nfs' },
|
{ method => 'nfs' },
|
||||||
{ method => 'pbs' },
|
{ method => 'pbs' },
|
||||||
|
# FIXME: remove with 7.0 (replaced by /nodes/<node>/hardware/usb)
|
||||||
{ method => 'usb' },
|
{ method => 'usb' },
|
||||||
{ method => 'zfs' },
|
{ method => 'zfs' },
|
||||||
];
|
];
|
||||||
@ -447,6 +448,7 @@ __PACKAGE__->register_method({
|
|||||||
return PVE::Storage::scan_zfs();
|
return PVE::Storage::scan_zfs();
|
||||||
}});
|
}});
|
||||||
|
|
||||||
|
# FIXME: remove with 7.0 (replaced by /nodes/<node>/hardware/usb)
|
||||||
__PACKAGE__->register_method({
|
__PACKAGE__->register_method({
|
||||||
name => 'usbscan',
|
name => 'usbscan',
|
||||||
path => 'usb',
|
path => 'usb',
|
||||||
|
|||||||
Reference in New Issue
Block a user