From 6d64e9e065646d520105baa5394117f0746b4c5a Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 25 Jul 2012 15:50:23 +0200 Subject: [PATCH] fix lvmscan --- Makefile | 2 +- PVE/API2/Storage/Scan.pm | 3 ++- changelog.Debian | 6 ++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 411d068..1af2278 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ RELEASE=2.1 VERSION=2.0 PACKAGE=libpve-storage-perl -PKGREL=26 +PKGREL=27 DESTDIR= PREFIX=/usr diff --git a/PVE/API2/Storage/Scan.pm b/PVE/API2/Storage/Scan.pm index d0c3c6e..6503369 100644 --- a/PVE/API2/Storage/Scan.pm +++ b/PVE/API2/Storage/Scan.pm @@ -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'); }}); diff --git a/changelog.Debian b/changelog.Debian index 9878bfe..de987fb 100644 --- a/changelog.Debian +++ b/changelog.Debian @@ -1,3 +1,9 @@ +libpve-storage-perl (2.0-27) unstable; urgency=low + + * fix lvmscan + + -- Proxmox Support Team Wed, 25 Jul 2012 15:49:59 +0200 + libpve-storage-perl (2.0-26) unstable; urgency=low * better timeout handling for nfs/iscsi