Re: [libvirt] [PATCH 5/9] virsh: domjobinfo: Print also job operation for failed jobs

2019-11-26 Thread Eric Blake
On 11/25/19 9:01 AM, Peter Krempa wrote: Printing that a job failed is rather unhelpful. Print at least the operation which failed. Achieve this by moving the check whether to print stats later but replace it with a check which will skip printing of the operation if there's no job. Signed-off-b

[libvirt] [PATCH 5/9] virsh: domjobinfo: Print also job operation for failed jobs

2019-11-25 Thread Peter Krempa
Printing that a job failed is rather unhelpful. Print at least the operation which failed. Achieve this by moving the check whether to print stats later but replace it with a check which will skip printing of the operation if there's no job. Signed-off-by: Peter Krempa --- tools/virsh-domain.c