fix lvmscan

This commit is contained in:
Dietmar Maurer
2012-07-25 15:50:23 +02:00
parent 7028645e2e
commit 6d64e9e065
3 changed files with 9 additions and 2 deletions

View File

@ -5,6 +5,7 @@ use warnings;
use PVE::SafeSyslog;
use PVE::Storage;
use PVE::Storage::LVMPlugin;
use HTTP::Status qw(:constants);
use PVE::JSONSchema qw(get_standard_option);
@ -155,7 +156,7 @@ __PACKAGE__->register_method ({
code => sub {
my ($param) = @_;
my $res = PVE::Storage::lvm_vgs();
my $res = PVE::Storage::LVMPlugin::lvm_vgs();
return PVE::RESTHandler::hash_to_array($res, 'vg');
}});