fence-agents: master - fence_rhevm: Update URL to RHEV-M REST API

Marek Grác marx at fedoraproject.org
Mon Mar 21 08:07:26 UTC 2011


Gitweb:        http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=e8253f37feb87c5f64db1c40f4c93fb27a248f34
Commit:        e8253f37feb87c5f64db1c40f4c93fb27a248f34
Parent:        12db46382b4807b67076104b725adf9d9bb4d900
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Mon Mar 21 09:06:36 2011 +0100
Committer:     Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Mon Mar 21 09:06:36 2011 +0100

fence_rhevm: Update URL to RHEV-M REST API

Resolves: rhbz#681674
---
 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 dea7283..6d8df4e 100755
--- a/fence/agents/rhevm/fence_rhevm.py
+++ b/fence/agents/rhevm/fence_rhevm.py
@@ -89,7 +89,7 @@ def send_command(opt, command, method = "GET"):
 	else:
 		url = "http:"
 
-	url += "//" + opt["-a"] + ":" + str(opt["-u"]) + "/rhevm-api-powershell/" + command
+	url += "//" + opt["-a"] + ":" + str(opt["-u"]) + "/rhevm-api/" + command
 
 	## send command through pycurl
 	c = pycurl.Curl()


More information about the cluster-commits mailing list