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

Re: [libvirt] [PATCHv2 2/6] conf: Reword error message to be more universal



On Tue, Apr 16, 2013 at 04:00:08PM +0200, Peter Krempa wrote:
> The error message that warns user when a request to chagne/get
> persistent configuration of a transient domain is requested suggests
> that changes are being made. Reword it to be more universal and allow it
> to be used for getter APIs too.
> 
> Before:
> $ virsh vcpucount transient-domain --config
> error: Requested operation is not valid: cannot change persistent config of a transient domain
> 
> After:
> $ virsh vcpucount transient-domain --config
> error: Requested operation is not valid: cannot access persistent config of a transient domain

It would really be better saying

   "transient domains do not have any persistent config"

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


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