Oh yes, sorry, seem better with your code.
(I'm a lot busy today, It's first day of sales in France, so lot of activity on
ecommerce websites)
- Mail original -
De: "dietmar"
À: "pve-devel" , "aderumier"
Envoyé: Mercredi 7 Janvier 2015 08:35:0
On 01/02/2015 03:15 PM, Alexandre Derumier wrote:
+
+ if(!$param->{current} || (defined($param->{current}) &&
$param->{current} == 0)) {
+ foreach my $opt (keys $conf->{pending}) {
+ foreach my $opt
(PVE::Tools::split_list($conf->{pending}->{delete})) {
+
On 01/02/2015 03:15 PM, Alexandre Derumier wrote:
@@ -685,11 +702,6 @@ __PACKAGE__->register_method({
type => 'string',
optional => 1,
},
- pending => {
- description => "Pending value.",
- t
config api return by default the pending config, like this it don't break
current behaviour
Add an optionnal current param to get to current running config
Signed-off-by: Alexandre Derumier
---
PVE/API2/Qemu.pm | 29 ++---
1 file changed, 22 insertions(+), 7 deletions
config api return by default the pending config, like this it don't break
current behaviour
Add an optionnal current param to get to current running config
Signed-off-by: Alexandre Derumier
---
PVE/API2/Qemu.pm | 29 ++---
1 file changed, 22 insertions(+), 7 deletions