Re: [pve-devel] [PATCH container 2/9] adapt config GET call for taking pending changes

2019-09-11 Thread Thomas Lamprecht
On 11.09.19 09:39, Fabian Grünbichler wrote: > On September 5, 2019 4:11 pm, Oguz Bektas wrote: >> +# take pending changes in >> +if (!$param->{current}) { >> +foreach my $opt (keys %{$conf->{pending}}) { >> +next if $opt eq 'delete'; >> +my $value =

Re: [pve-devel] [PATCH container 2/9] adapt config GET call for taking pending changes

2019-09-11 Thread Fabian Grünbichler
On September 5, 2019 4:11 pm, Oguz Bektas wrote: > the default behaviour is the same as in Qemu, so without the 'current' > flag set, current values will be replaced with their respective pending > counterparts. > > Signed-off-by: Oguz Bektas > --- > src/PVE/API2/LXC/Config.pm | 23

[pve-devel] [PATCH container 2/9] adapt config GET call for taking pending changes

2019-09-05 Thread Oguz Bektas
the default behaviour is the same as in Qemu, so without the 'current' flag set, current values will be replaced with their respective pending counterparts. Signed-off-by: Oguz Bektas --- src/PVE/API2/LXC/Config.pm | 23 +++ 1 file changed, 23 insertions(+) diff --git