Re: [PATCH v2 02/14] tools/rv: Fix substring match when listing container monitors

From: Nam Cao

Date: Mon May 18 2026 - 04:27:04 EST


Gabriele Monaco <gmonaco@xxxxxxxxxx> writes:
> When listing monitors within a specific container (rv list <container>),
> the tool incorrectly matched monitors if the requested container name
> was only a prefix of the actual container (e.g., 'rv list sche' would
> incorrectly list monitors from 'sched:').
>
> Fix this by ensuring the container name is an exact match and is
> immediately followed by the ':' separator.
>
> Signed-off-by: Gabriele Monaco <gmonaco@xxxxxxxxxx>

Reviewed-by: Nam Cao <namcao@xxxxxxxxxxxxx>