Merge "ApiClient now looks for internalURL"

This commit is contained in:
Jenkins 2015-10-19 20:48:08 +00:00 committed by Gerrit Code Review
commit 6f7cc9621e
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ def get_service_url(request):
for c in catalog: for c in catalog:
if c['name'] == 'freezer': if c['name'] == 'freezer':
for e in c['endpoints']: for e in c['endpoints']:
return e['publicURL'] return e['internalURL']
else: else:
return get_hardcoded_url() return get_hardcoded_url()