Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=32f... Commit: 32f36689f34d1790ed44a077bd137269ee5a653e Parent: a95c78f44a9b819eab37f541fde9f5784dd9f9c5 Author: Marek 'marx' Grac mgrac@redhat.com AuthorDate: Mon Aug 29 10:47:36 2011 +0200 Committer: Lon Hohberger lhh@redhat.com CommitterDate: Wed Jan 18 12:40:42 2012 -0500
fence_rhevm: REST API URL needs to be updated to /api
Resolves: rhbz#782833 --- 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 c9625a2..e420455 100755 --- a/fence/agents/rhevm/fence_rhevm.py +++ b/fence/agents/rhevm/fence_rhevm.py @@ -88,7 +88,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()