Re: [PATCH 1/2] virsh: Simplify vshTableRowAppend() calling in cmdList(), part one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 19, 2024 at 16:38:27 +0200, Michal Privoznik wrote:
> All calls to vshTableRowAppend() inside of cmdList() share couple
> of same arguments: domain ID, domain name and domain state. While
> the first one is stored in a variable and then passed to all
> vshTableRowAppend() calls, the others are passed as a function
> call. Switch the latter to variables too.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  tools/virsh-domain-monitor.c | 26 ++++++++++++--------------
>  1 file changed, 12 insertions(+), 14 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux