Re: [PATCH] virsh: Clear vsh last error during virshCommandOptVolBy

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

 



On Mon, Apr 16, 2018 at 11:55:51 -0400, John Ferlan wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1529256
> 
> If one of the virStorageVolLookupBy{Key|Name|Path} succeeds and
> we have a @vol, then clear the last libvirt error; otherwise, a
> subsequent "other" failure may cause vshReportError to erroneously
> report the wrong error as well as a reported 'vshError' error that
> caused the failure.
> 
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  tools/virsh-volume.c | 2 ++
>  1 file changed, 2 insertions(+)

ACK

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[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