]> git.proxmox.com Git - qemu-server.git/commit - PVE/API2/Qemu.pm
api: use shared methods in config GET
authorOguz Bektas <o.bektas@proxmox.com>
Mon, 14 Oct 2019 08:28:37 +0000 (10:28 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Oct 2019 16:45:27 +0000 (18:45 +0200)
commitd3179e1c36a8023145c797ae7aaabfd1deebd69e
tree0a3b93be74a2d9d76ff3fb143338b71c8bb081e7
parentf73ed6d10fb934571be2c6dcd12683d42d7341a0
api: use shared methods in config GET

in config GET call, we can now use the new shared methods from
guest-common, namely load_current_config and load_snapshot_config.

the correct method is called depending on the parameters 'current' or
'snapshot'

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
PVE/API2/Qemu.pm