diff --git a/Makefile b/Makefile index 5f3a1aa..9fc919e 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ RELEASE=2.0 VERSION=2.0 PACKAGE=libpve-storage-perl -PKGREL=10 +PKGREL=11 DESTDIR= PREFIX=/usr diff --git a/PVE/API2/Storage/Status.pm b/PVE/API2/Storage/Status.pm index f9178a7..836eeb7 100644 --- a/PVE/API2/Storage/Status.pm +++ b/PVE/API2/Storage/Status.pm @@ -76,6 +76,7 @@ __PACKAGE__->register_method ({ my $res = {}; my @sids = PVE::Storage::storage_ids($cfg); foreach my $storeid (@sids) { + next if !$info->{$storeid}; my $privs = [ 'Datastore.Audit', 'Datastore.AllocateSpace' ]; next if !$rpcenv->check_any($authuser, "/storage/$storeid", $privs, 1); next if $param->{storage} && $param->{storage} ne $storeid; diff --git a/changelog.Debian b/changelog.Debian index 0864c40..fc0b2c4 100644 --- a/changelog.Debian +++ b/changelog.Debian @@ -1,3 +1,9 @@ +libpve-storage-perl (2.0-11) unstable; urgency=low + + * only list iscsi when enabled (content == images) + + -- Proxmox Support Team Wed, 15 Feb 2012 09:33:01 +0100 + libpve-storage-perl (2.0-10) unstable; urgency=low * also list tar.gz and tar.lzo backup files