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

View File

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