cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH] Fix error getting status from libvirt-qpid plugin
@ 2011-08-01 16:36 Zane Bitter
  2011-08-02 15:10 ` Lon Hohberger
  0 siblings, 1 reply; 2+ messages in thread
From: Zane Bitter @ 2011-08-01 16:36 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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");
 }
 
 



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-02 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).