diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm index d84c3e73..8172231e 100644 --- a/PVE/API2/Nodes.pm +++ b/PVE/API2/Nodes.pm @@ -31,7 +31,7 @@ use PVE::API2::Subscription; use PVE::API2::Services; use PVE::API2::Network; use PVE::API2::Tasks; -use PVE::API2::Scan; +use PVE::API2::Storage::Scan; use PVE::API2::Storage::Status; use PVE::API2::Qemu; use PVE::API2::Qemu::CPU; @@ -107,7 +107,7 @@ __PACKAGE__->register_method ({ }); __PACKAGE__->register_method ({ - subclass => "PVE::API2::Scan", + subclass => "PVE::API2::Storage::Scan", path => 'scan', });