Re: [PATCH] telemetry: correct json empty dictionaries

2024-02-12 Thread David Marchand
On Fri, Jan 19, 2024 at 8:48 AM Jonathan Erb 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 resolv

Re: [PATCH] telemetry: correct json empty dictionaries

2024-02-05 Thread Jonathan Erb
David, It was just a minor oversight in following commit: commit c933bb5177cac5fbf4533e357d466cff1f3e6c97 Author: Ciara Power Date:   Wed Sep 23 12:12:26 2020 +0100     telemetry: support array values in data object     Arrays of type uint64_t/int/string can now be included within an array   

Re: [PATCH] telemetry: correct json empty dictionaries

2024-02-01 Thread David Marchand
On Fri, Jan 19, 2024 at 8:48 AM Jonathan Erb 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 resolv

RE: [PATCH] telemetry: correct json empty dictionaries

2024-01-19 Thread Power, Ciara
> -Original Message- > From: Jonathan Erb > Sent: Thursday, January 18, 2024 5:26 PM > To: Power, Ciara > Cc: dev@dpdk.org; Richardson, Bruce ; > Jonathan Erb > Subject: [PATCH] telemetry: correct json empty dictionaries > > Fix to allow telemetry t

[PATCH] telemetry: correct json empty dictionaries

2024-01-18 Thread Jonathan Erb
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. Signed-off-by: Jonathan Erb --- .mailmap

[PATCH] telemetry: correct json empty dictionaries

2023-12-20 Thread Jonathan Erb
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. Signed-off-by: Jonathan Erb --- .mailmap