Use Tatu API v1 in passthrough.py
Change-Id: Ie605907b17153a5e455e9e35a5dc584dc17d2d41 Signed-off-by: Pino de Candia <giuseppe.decandia@gmail.com>
This commit is contained in:
parent
1685f7c862
commit
0f79b61b93
@ -41,9 +41,10 @@ def _passthrough_request(request_method, url,
|
||||
verify = False
|
||||
|
||||
service_url = _get_service_url(request, 'ssh')
|
||||
request_url = '{}{}'.format(
|
||||
request_url = '{}{}{}'.format(
|
||||
service_url,
|
||||
url if service_url.endswith('/') else ('/' + url)
|
||||
'v1/' if service_url.endswith('/') else '/v1/',
|
||||
url
|
||||
)
|
||||
|
||||
response = request_method(
|
||||
|
Loading…
Reference in New Issue
Block a user