]> git.proxmox.com Git - pve-ha-manager.git/commit
manager: online node usage: factor out possible traget and future proof
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 22 Jul 2022 07:12:37 +0000 (09:12 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 22 Jul 2022 07:12:38 +0000 (09:12 +0200)
commit6f818da13f0af2b5ffecf7d1e6a0222047dde6ed
tree687632e563a366cb48f3f4cdac41dae587b0021b
parent8c80973d40380411f5f26a83d883c11353948534
manager: online node usage: factor out possible traget and future proof

only count up target selection if that node is already in the online
node usage list, to avoid that a offline node is considered online if
its a target from any command

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