]> git.proxmox.com Git - pve-ha-manager.git/commit
LRM: factor out closing watchdog local helper
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 1 Jul 2021 13:56:37 +0000 (15:56 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 2 Jul 2021 18:08:12 +0000 (20:08 +0200)
commitabc1499bc6ca7843be00d0fc1852418b7b60b8db
tree869255405ed44b38ec4519a62ce9a62d74677c61
parentc259b1a8145c9fb4fccfac00e21e7ead7b00b6e0
LRM: factor out closing watchdog local helper

It's not much but repeated a few times, and as a next commit will add
another such time let's just refactor it to a local private helper
with a very explicit name and comment about what implications calling
it has.

Take the chance and add some more safety comments too.

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