]> git.proxmox.com Git - pve-ha-manager.git/commit
Tools/Config: refactor lrm status json reading
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 10 Oct 2018 11:55:03 +0000 (13:55 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 Oct 2018 09:20:41 +0000 (11:20 +0200)
commit6529b6a4e2dbf14c930b9d85495b92456a4d5399
treed12defa5feda175d1e8f2df9a221fc015cf1a99f
parent5f52cd3c42dcb77ebd3e69bb1427d473b5636b11
Tools/Config: refactor lrm status json reading

to avoid unnecessary dependency on PVE::Cluster in PVE::HA::Tools.

reading the LRM status file was the only instance of reading from the
CFS via this method.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/PVE/HA/Config.pm
src/PVE/HA/Tools.pm