mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-05 10:49:51 +00:00
API/Scan: use scan_usb from PVE::SysFSTools
the code moved from PVE::Storage there Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
bed048ef70
commit
805577a6f5
@ -6,6 +6,7 @@ use warnings;
|
||||
use PVE::SafeSyslog;
|
||||
use PVE::Storage;
|
||||
use PVE::Storage::LVMPlugin;
|
||||
use PVE::SysFSTools;
|
||||
use PVE::JSONSchema qw(get_standard_option);
|
||||
|
||||
use PVE::RESTHandler;
|
||||
@ -418,7 +419,7 @@ __PACKAGE__->register_method ({
|
||||
code => sub {
|
||||
my ($param) = @_;
|
||||
|
||||
return PVE::Storage::scan_usb();
|
||||
return PVE::SysFSTools::scan_usb();
|
||||
}});
|
||||
|
||||
1;
|
||||
|
Loading…
Reference in New Issue
Block a user