[pve-devel] [PATCH manager 4/5] use scan_usb from PVE::SysFSTools rather than PVE::Storage
Dominik Csapak
d.csapak at proxmox.com
Fri Nov 16 16:17:55 CET 2018
the code moved there
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
PVE/API2/Scan.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/PVE/API2/Scan.pm b/PVE/API2/Scan.pm
index f0ae10c3..87f83c9d 100644
--- a/PVE/API2/Scan.pm
+++ b/PVE/API2/Scan.pm
@@ -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;
--
2.11.0
More information about the pve-devel
mailing list