qemu-server/PVE
Leo Nunner 3a704639b7 cloudinit: fix 'pending' api endpoint
This patch partially reverts commit 1b5706cd16,
by reintroducing the old format for return values (key, value, pending,
delete), but drops the "force-delete" return value. Right now, this
endpoint does not conform to its own format, because the return values
are as follows:

{
    key => {
	old => 'foo',
	new => 'bar',
    },
    […]
}

While the format specified is

[
    {
	key => 'baz',
	old => 'foo',
	new => 'bar',
    },
    […]
]

This leads to the endpoint being broken when used through 'qm' and
'pvesh'. Using the API works fine, because the format doesn't get
verified there. Reverting this change brings the advantage that we can
also use PVE::GuestHelpers::format_pending when calling the endpoint
through qm again.

Signed-off-by: Leo Nunner <l.nunner@proxmox.com>
2023-06-07 18:32:42 +02:00
..
API2 cloudinit: fix 'pending' api endpoint 2023-06-07 18:32:42 +02:00
CLI qmrestore: improve description of bwlimit parameter 2023-06-06 17:56:34 +02:00
QemuServer fix #3428: cloudinit: add parameter for upgrade on boot 2023-06-07 18:25:46 +02:00
VZDump backup: prepare: improve error messages 2023-03-27 11:38:43 +02:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm fix #4201: delete cloud-init disk on rollback 2022-11-11 19:26:16 +01:00
QemuMigrate.pm close #2792: allow online migration with replicated snapshots 2023-01-27 09:53:28 +01:00
QemuServer.pm fix #3428: cloudinit: add parameter for upgrade on boot 2023-06-07 18:25:46 +02:00
QMPClient.pm tree-wide: switch to official spelling of QEMU in descriptions/messages 2022-12-20 10:26:41 +01:00