cluster: RHEL58 - fence_rhevm: REST API URL needs to be updated to /api

Marek Grác marx at fedoraproject.org
Thu Sep 15 11:29:53 UTC 2011


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=443e1dd7a89a48233f74349de9bd1c14571f2843
Commit:        443e1dd7a89a48233f74349de9bd1c14571f2843
Parent:        05fc9d0a0a4baf8ad0da2d3ad27dda526db3b75e
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Mon Aug 29 10:47:36 2011 +0200
Committer:     Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Thu Sep 15 13:28:27 2011 +0200

fence_rhevm: REST API URL needs to be updated to /api

Resolves: rhbz#731167
---
 fence/agents/rhevm/fence_rhevm.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fence/agents/rhevm/fence_rhevm.py b/fence/agents/rhevm/fence_rhevm.py
index c9625a2..e420455 100755
--- a/fence/agents/rhevm/fence_rhevm.py
+++ b/fence/agents/rhevm/fence_rhevm.py
@@ -88,7 +88,7 @@ def send_command(opt, command, method = "GET"):
 	else:
 		url = "http:"
 
-	url += "//" + opt["-a"] + ":" + str(opt["-u"]) + "/rhevm-api/" + command
+	url += "//" + opt["-a"] + ":" + str(opt["-u"]) + "/api/" + command
 
 	## send command through pycurl
 	c = pycurl.Curl()


More information about the cluster-commits mailing list