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

Re: [libvirt] [PATCH] Revert "test: Cleanup improper VIR_ERR_NO_SUPPORT use"



On Thu, Sep 01, 2011 at 03:36:59PM +0800, Osier Yang wrote:
> This reverts commit 172214bd304ff958160307be2efd6614e9868946.
> ---
>  src/test/test_driver.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/test/test_driver.c b/src/test/test_driver.c
> index 3dfe305..b3e24b4 100644
> --- a/src/test/test_driver.c
> +++ b/src/test/test_driver.c
> @@ -4082,7 +4082,7 @@ testStorageFindPoolSources(virConnectPtr conn ATTRIBUTE_UNUSED,
>          break;
>  
>      default:
> -        testError(VIR_ERR_OPERATION_INVALID,
> +        testError(VIR_ERR_NO_SUPPORT,
>                    _("pool type '%s' does not support source discovery"), type);
>      }
>  

ACK

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]