Gitweb:
http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: ecf02d5c3fac9cc8fbd4aa03f495a734c930e143
Parent: 0c01f1dec0c264203ee9736dcf6958c992c2fc88
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Mon Mar 21 09:06:36 2011 +0100
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Mon Mar 21 09:09:14 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()