[libvirt] [PATCH] secret: Fix error for private secrets

Martin Kletzander mkletzan at redhat.com
Tue Sep 18 14:58:24 UTC 2012


On 09/18/2012 04:09 PM, Peter Krempa wrote:
> On 09/18/12 15:53, Martin Kletzander wrote:
>> When trying to get the value of a private secret, the code used
>> 'operation denied' error. That error is specified as an error for
>> read-only connections trying to perform denied operation. The
>> following error seems more accurate.
>>
>> To compare the difference:
>>   - BEFORE
>> error: operation secret is private forbidden for read only access
>>
>>   - AFTER
>> error: Invalid secret: secret is private
>> ---
>>   src/secret/secret_driver.c | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>
> 
> ACK, the previous version of the error message didn't make sense.
> 
> Peter
> 

Thanks, pushed.

Martin




More information about the libvir-list mailing list