]> git.proxmox.com Git - pve-common.git/commit
properly encode YAML via YAML::XS
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 17 Sep 2020 11:16:58 +0000 (13:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Sep 2020 11:40:55 +0000 (13:40 +0200)
commit99d02523f6f034760dd5e97e693a34b9ceb2a518
treebec13fdca4612562ad907b45cde5441629afdeea
parent09d47f9d477b95382874de1233d1b012fbf4763f
properly encode YAML via YAML::XS

otherwise we get strange errors when formatting data that was originally
JSON, and can thus contain JSON::true/JSON::false.

one example is the QMP query-blockstats command, which gets called (and
the resulting values returned) by /nodes/NODE/qemu/VMID/status/current

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
debian/control
src/PVE/CLIFormatter.pm