Revision 347b2ba1 snf-common/synnefo/lib/services.py
b/snf-common/synnefo/lib/services.py | ||
---|---|---|
47 | 47 |
if publicURL is not None: |
48 | 48 |
continue |
49 | 49 |
|
50 |
publicURL = join_urls(base_url, prefix, version).rstrip('/') + '/'
|
|
50 |
publicURL = join_urls(base_url, prefix, version).rstrip('/') |
|
51 | 51 |
set_path(endpoint, 'publicURL', publicURL) |
52 | 52 |
|
53 | 53 |
|
... | ... | |
84 | 84 |
|
85 | 85 |
def get_service_path(services, service_type, version=None): |
86 | 86 |
service_url = get_public_endpoint(services, service_type, version=version) |
87 |
return urlparse(service_url).path.rstrip('/') + '/' |
|
87 |
return urlparse(service_url).path.rstrip('/') |
Also available in: Unified diff