Subject: Re: [PATCH iproute2-next 09/20] bridge: vni: Move open_json_object() within print_vni()

From: Stephen Hemminger <[email-masked]>
Date: Wed, 20 Dec 2023 20:06:14 -0800

On Mon, 11 Dec 2023 09:07:21 -0500
Benjamin Poirier <[email-masked]> wrote:

> print_vni() is used to output one vni or vni range which, in json output
> mode, looks like
>       {
>         "vni": 100
>       }
> 
> Currently, the closing bracket is handled within the function but the
> opening bracket is handled by open_json_object() before calling the
> function. For consistency, move the call to open_json_object() within
> print_vni().
> 
> Reviewed-by: Petr Machata <[email-masked]>
> Tested-by: Petr Machata <[email-masked]>
> Signed-off-by: Benjamin Poirier <[email-masked]>

Acked-by: Stephen Hemminger <[email-masked]>