[pve-devel] applied: [PATCH manager] ceph: services: broadcast versions: improve requesting old version

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Apr 26 08:30:59 CEST 2022


On 30.11.21 11:38, Fabian Ebner wrote:
> 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 at proxmox.com>
> ---
>  PVE/Ceph/Services.pm | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list