]> git.proxmox.com Git - pve-ha-manager.git/commit
improve verbosity of API status call
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 10 Feb 2016 06:20:05 +0000 (07:20 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 10 Feb 2016 06:20:05 +0000 (07:20 +0100)
commit331a9f0053c6df85d2a91d6321606fb445d309e8
treef30282ce6435cdb93c5fa5206669d1466902cac6
parentff8e2945533eb0fde0f0ee1a8ecd1c1145ea2c32
improve verbosity of API status call

Display the state of a LRM when it is not in the "active" state
and has some service configured.

This should reduce confiusion when the LRM is active but still has
to wait for its lock. In such a case the user only sees that it's
active and could think it's malfunctioning because no action
happens.

Also displays the LRM mode, so that we can see when we restart the LRM.

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