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

Re: [Cluster-devel] [PATCH] Fix error getting status from libvirt-qpid plugin



On Mon, Aug 01, 2011 at 06:36:18PM +0200, Zane Bitter wrote:
> Signed-off-by: Zane Bitter <zbitter redhat com>
> ---
>  server/libvirt-qpid.cpp |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/server/libvirt-qpid.cpp b/server/libvirt-qpid.cpp
> index 593f47c..4a3dc17 100644
> --- a/server/libvirt-qpid.cpp
> +++ b/server/libvirt-qpid.cpp
> @@ -170,7 +170,7 @@ do_lq_request(struct lq_info *info, const char *vm_name,
>  		i = 0;
>  	}
>  
> -	if (!strcasecmp(action, "status")) {
> +	if (!strcasecmp(action, "state")) {
>  		result.code = i;
>  		goto out;
>  	}
> @@ -246,7 +246,7 @@ lq_status(const char *vm_name, void *priv)
>  	VALIDATE(priv);
>  	printf("[libvirt-qpid] STATUS operation on %s\n", vm_name);
>  
> -	return do_lq_request((lq_info *)priv, vm_name, "destroy");
> +	return do_lq_request((lq_info *)priv, vm_name, "state");
>  }

Merged

-- 
Lon Hohberger - Red Hat, Inc.


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