]> git.proxmox.com Git - pve-ha-manager.git/commit
resources: pve: avoid relying on internal configuration details
authorFiona Ebner <f.ebner@proxmox.com>
Tue, 28 Feb 2023 10:54:10 +0000 (11:54 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 9 Jun 2023 05:28:29 +0000 (07:28 +0200)
commite0346eccafccd6f669e7b5e824ba8c7583aa2173
tree6c508268eb391a8c4b1bedaa88cdd0d323c60107
parentafa1aa9cb8414a61c466693442372ba140a6b627
resources: pve: avoid relying on internal configuration details

Instead, use the new get_derived_property() method to get the same
information in a way that is robust regarding changes in the
configuration structure.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
src/PVE/HA/Resources/PVECT.pm
src/PVE/HA/Resources/PVEVM.pm