diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-02-23 18:22:25 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-02-23 18:22:25 +0000 |
| commit | 2736b2d493e5129257061739d339d4cd4d8a5f25 (patch) | |
| tree | 9990b789b6faf7f5018ac5f40b1e0df9ab8bf34b /nova/api | |
| parent | 041b97dc3d2dde7f0a0c8c175f723e36feae8777 (diff) | |
| parent | 2d2ebd676a81a0443824990a710eda4df72b9987 (diff) | |
Merge "Making link prefixes support https."
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/common.py b/nova/api/openstack/common.py index 575c58fac..92ef17687 100644 --- a/nova/api/openstack/common.py +++ b/nova/api/openstack/common.py @@ -488,5 +488,5 @@ class ViewBuilder(object): return orig_url url_parts = list(urlparse.urlsplit(orig_url)) prefix_parts = list(urlparse.urlsplit(prefix)) - url_parts[1] = prefix_parts[1] + url_parts[0:2] = prefix_parts[0:2] return urlparse.urlunsplit(url_parts) |
