]> git.proxmox.com Git - pve-ha-manager.git/commit
Resource/API: abort early if resource in error state
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 24 Jan 2017 16:54:03 +0000 (17:54 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 14 Mar 2017 09:45:39 +0000 (10:45 +0100)
commit82065b0ec8f3f434c44dea75d4aaa3193b8dc89b
tree2dd9f06bbe6e98ba6aea255f634b57d1361b623d
parent88a6c68a2ce671e24c05935b97bc1c66615469b5
Resource/API: abort early if resource in error state

If a service is in error state the single state change command that
can make sense is setting the disabled request state.
Thus abort on all other commands early to enhance user experience.
src/PVE/API2/HA/Resources.pm