]> 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:57 +0000 (10:45 +0100)
commit2732fccfec42e6e2ae983ac26fc244e8a2ab8f51
tree39a03baddd42879d4662b47d597682b60dea86ec
parentf9b7a596b2fe63c54b4ad3d0131427042fdb479d
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