diff --git a/Makefile b/Makefile index 164bec4..a4af7b1 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ RELEASE=3.0 VERSION=3.0 PACKAGE=libpve-storage-perl -PKGREL=5 +PKGREL=6 DESTDIR= PREFIX=/usr diff --git a/PVE/API2/Storage/Status.pm b/PVE/API2/Storage/Status.pm index 09192df..815f1c8 100644 --- a/PVE/API2/Storage/Status.pm +++ b/PVE/API2/Storage/Status.pm @@ -53,7 +53,8 @@ __PACKAGE__->register_method ({ enabled => { description => "Only list stores which are enabled (not disabled in config).", type => 'boolean', - optional => 0, + optional => 1, + default => 0, }, target => get_standard_option('pve-node', { description => "If target is different to 'node', we only lists shared storages which " . diff --git a/changelog.Debian b/changelog.Debian index b35e8f8..78ac634 100644 --- a/changelog.Debian +++ b/changelog.Debian @@ -1,3 +1,9 @@ +libpve-storage-perl (3.0-6) unstable; urgency=low + + * fix bug from previous commit (parameter 'enabled' is optional) + + -- Proxmox Support Team Tue, 14 May 2013 11:24:38 +0200 + libpve-storage-perl (3.0-5) unstable; urgency=low * extend storage list API with useful parameters for clone