]> git.proxmox.com Git - pve-ha-manager.git/commit
read_and_check_resources_config: remove dead if branch
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 5 Oct 2019 16:34:31 +0000 (18:34 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 5 Oct 2019 16:58:26 +0000 (18:58 +0200)
commitb6da6101a4fce6aa81c0a5ea664c6b30df99cde7
tree53c433bc552337eb1240561c96b5ee65ca0ca017
parent41236dcf61b8728335b6a9a79936922706e64dbc
read_and_check_resources_config: remove dead if branch

we only come to the if (!$vmd) check if the previous
if (my $vmd = $vmlist->{ids}->{$name) is taken, which means $vmd is
always true then.

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