pve-manager/PVE/Ceph
Fabian Ebner 25bea05733 ceph: services: broadcast versions: improve requesting old version
to avoid a "malformed JSON string" warning when there is no old
version present (e.g. after starting a cluster).

get_node_kv will always return something that evaluates to true, so
instead, test if the result has an entry for the current node. Also,
it's enough to request the kv for the current node only.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2022-04-26 08:29:58 +02:00
..
Makefile ceph: move service_cmd and MDS related code to Services.pm 2018-12-20 09:44:01 +01:00
Services.pm ceph: services: broadcast versions: improve requesting old version 2022-04-26 08:29:58 +02:00
Tools.pm pveceph: add 'fs destroy' command 2021-11-11 17:52:08 +01:00