Re: [PATCH] virsh: fix uninitialized variable in cmdSnapshotEdit

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

 



On Fri, Nov 16, 2012 at 12:10:10PM +0100, Ján Tomko wrote:
> On 11/16/12 11:58, Christophe Fergeau wrote:
> > Shouldn't we call vshError with a different message in the !ret && !name case?
> > 
> > Christophe
> vshCommandOptDomain and vshLookupSnapshot already give reasonable error
> messages in that case. For non-existent domains:
> 
> error: failed to get domain 'bla'
> error: Domain not found: no domain with matching name 'bla'
> 
> And for snapshots:
> error: Domain snapshot not found: no domain snapshot with matching name
> 'bla'

Ah, all is good then, thanks!

Christophe

Attachment: pgpKtOTCUxtdc.pgp
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]