]> git.proxmox.com Git - pve-ha-manager.git/commit
fix #1602: allow to delete 'ignored' services over API
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 23 Jan 2019 09:34:40 +0000 (10:34 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 25 Jan 2019 08:31:45 +0000 (09:31 +0100)
commit60d1b1cacf2173f3cea84db41dd740e35c7a10d9
tree8881aaeff915d2acc7c0a7d4f7f91b7abf5a0187
parenta9a49e32c1f9e78c132567d5d8b9d71e4569812e
fix #1602: allow to delete 'ignored' services over API

service_is_ha_managed returns false if a service is in the resource
configuration but marked as 'ignore', as for the internal stack it is
as it wasn't HA managed at all.

But user should be able to remvoe it from the configuration easily
even in this state, without setting the requesttate to anything else
first.

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