Gitweb:
http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=com...
Commit: b21144162ca2a6b936a18b451eb7b27a66675882
Parent: 22ba49657526c0aacaadb5fdb6a53a8b88130531
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Mon Aug 29 10:47:36 2011 +0200
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Mon Aug 29 10:47:36 2011 +0200
fence_rhevm: REST API URL needs to be updated to /api
Resolves: rhbz#731166
---
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 e233968..65a7395 100644
--- 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/" + command
+ url += "//" + opt["-a"] + ":" + str(opt["-u"]) +
"/api/" + command
## send command through pycurl
c = pycurl.Curl()