cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Lon Hohberger <lhh@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] Fix error getting status from libvirt-qpid plugin
Date: Tue, 2 Aug 2011 11:10:25 -0400	[thread overview]
Message-ID: <20110802151025.GB25526@redhat.com> (raw)
In-Reply-To: <20110801163602.2120.63669.stgit@zbitter.fedora>

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.



      reply	other threads:[~2011-08-02 15:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-01 16:36 [Cluster-devel] [PATCH] Fix error getting status from libvirt-qpid plugin Zane Bitter
2011-08-02 15:10 ` Lon Hohberger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110802151025.GB25526@redhat.com \
    --to=lhh@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).