[PATCH] telemetry: correct json empty dictionaries

David Marchand david.marchand at redhat.com
Mon Feb 12 11:15:58 CET 2024


On Fri, Jan 19, 2024 at 8:48 AM Jonathan Erb <jonathan.erb at threater.com> wrote:
>
> Fix to allow telemetry to handle empty dictionaries correctly.
>
> This patch resolves an issue where empty dictionaries are reported
> by telemetry as '[]' rather than '{}'. Initializing the output
> buffer based on the container type resolves the issue.
>
Fixes: c933bb5177ca ("telemetry: support array values in data object")
Cc: stable at dpdk.org

> Signed-off-by: Jonathan Erb <jonathan.erb at threater.com>
Acked-by: Ciara Power <ciara.power at intel.com>

Applied thanks.


-- 
David Marchand



More information about the dev mailing list