]> git.proxmox.com Git - pve-guest-common.git/commit
refactor print_pending_delete slightly
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Oct 2019 15:15:46 +0000 (17:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Oct 2019 15:48:03 +0000 (17:48 +0200)
commit51088c75f2e794e33924c665a79fe486a021ca40
treef43e3c07cac512ac7a176e93218376fdbfe9a8a6
parentc29213f0ef394dd86fe240c34761c42719708849
refactor print_pending_delete slightly

while this was much better than the old mess from
parse_pending_delete it still was a bit much nested into one line.

split that up a bit, add a render_key helper which does the clunky
"add !" check and just call that one in the map {}

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/AbstractConfig.pm