[PATCH] telemetry: correct json empty dictionaries
    David Marchand 
    david.marchand at redhat.com
       
    Thu Feb  1 12:57:20 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.
>
> Signed-off-by: Jonathan Erb <jonathan.erb at threater.com>
Thanks for the fix.
Could you point at the change that introduced this issue?
I will add the Fixes: tag when applying.
-- 
David Marchand
    
    
More information about the dev
mailing list