Gitweb: http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commit... Commit: c6b07346bf6ba78b43826ee777849495b3d13180 Parent: 4407a92ac0ba01432167e60ff0d6cc3831749b40 Author: Marek 'marx' Grac mgrac@redhat.com AuthorDate: Mon Aug 29 10:47:36 2011 +0200 Committer: Marek 'marx' Grac mgrac@redhat.com CommitterDate: Mon Aug 29 10:50:29 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()
cluster-commits@lists.fedorahosted.org