]> git.proxmox.com Git - qemu-server.git/commit
improve 'pending changes' message for clone
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 12 Sep 2018 08:53:52 +0000 (10:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 12 Sep 2018 08:54:27 +0000 (10:54 +0200)
commitc725dd5f92b80670fb355ec32dc79b185aa45695
tree7464ce245c3911bb96aa46e17502e6c54c3ee9e1
parent91bba271654550c1ad8a8f77828ad75bf3f520a5
improve 'pending changes' message for clone

$newconf->{pending} is a reference to an empty hash, which is not falsy,
thus we always printed the warning

so check if there are actual values there and if yes,
give the names of the properties for which pending changes are found

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Qemu.pm