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

Re: [libvirt] [PATCH 2/3] Fix error codes for missing storage pools



On 05/27/2010 12:00 PM, Daniel P. Berrange wrote:
> The storage pool driver is mistakenly using the error code
> VIR_ERR_INVALID_STORAGE_POOL which is for diagnosing invalid
> pointers. This patch switches it to use VIR_ERR_NO_STORAGE_POOL
> which is the correct code for cases where the storage pool does
> not exist
> 
> * src/storage/storage_driver.c: Replace VIR_ERR_INVALID_STORAGE_POOL
>   with VIR_ERR_NO_STORAGE_POOL

ACK

- Cole


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