aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2017-09-11 11:15:07 +0200
committerasteroide <thomas.duval@orange.com>2017-09-11 11:15:07 +0200
commit9afd4db4f4cbe2e6124abeee464d528e11437c76 (patch)
tree4e3f7eb45ec5cfb70dca386f631b0c4fdf724877
parent687281843e3a9b9ee319228b84bdfc693b69f944 (diff)
Fix a bug when calling Interface.
Change-Id: I60b32a7296c8df6d3d320e093faa388037492031
-rw-r--r--moonv4/moon_wrapper/moon_wrapper/http_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/moonv4/moon_wrapper/moon_wrapper/http_server.py b/moonv4/moon_wrapper/moon_wrapper/http_server.py
index 7db6bee2..f50213c7 100644
--- a/moonv4/moon_wrapper/moon_wrapper/http_server.py
+++ b/moonv4/moon_wrapper/moon_wrapper/http_server.py
@@ -57,7 +57,7 @@ def HTTPServer(host, port):
_object = __get_object(target, credentials)
_project_id = __get_project_id(target, credentials)
logger.info("GET with args {} / {} - {} - {}".format(_project_id, _subject, _object, rule))
- _url = "http://authz/{}:{}/{}/{}/{}/{}".format(
+ _url = "http://{}:{}/authz/{}/{}/{}/{}".format(
interface_hostname,
interface_port,
_project_id,