[libvirt] [PATCH] virsh: don't print --(null) in vol-name and vol-pool

Ján Tomko jtomko at redhat.com
Fri Mar 22 12:12:30 UTC 2013


On 03/22/2013 12:58 PM, Michal Privoznik wrote:
> On 22.03.2013 12:51, Ján Tomko wrote:
>> Don't print the pool option name if it's null.
>>
>> Before:
>> virsh # vol-name vol
>> error: failed to get vol 'vol', specifying --(null) might help
>> error: Storage volume not found: no storage vol with matching path vol
>>
>> After:
>>
>> virsh # vol-name vol
>> error: failed to get vol 'vol'
>> error: Storage volume not found: no storage vol with matching path vol
>>
>> Bug: https://bugzilla.redhat.com/show_bug.cgi?id=924571
>> ---
>>  tools/virsh-volume.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
> 
> ACK
> 
> Michal
> 

Thanks, pushed now.

Jan




More information about the libvir-list mailing list