Gitweb:
http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=com...
Commit: e8253f37feb87c5f64db1c40f4c93fb27a248f34
Parent: 12db46382b4807b67076104b725adf9d9bb4d900
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: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()