diff options
author | Graham Hayes <graham.hayes@hp.com> | 2014-04-29 13:39:24 +0100 |
---|---|---|
committer | Kiall Mac Innes <kiall@hp.com> | 2014-04-29 12:41:49 +0000 |
commit | 43bd954bc5c3b3b7d44589e8cacc62c1176ee731 (patch) | |
tree | 43e7ebd37e3aa033cbcfb00cff6bb93cc08ba918 | |
parent | 054aae3600917c1368bc0826453504cd6db97605 (diff) | |
download | designate-43bd954bc5c3b3b7d44589e8cacc62c1176ee731.tar.gz |
Fixed the self link returned for floating IPs
Change-Id: I8517509e91d508c6f9b91e4c3c43faa56d8533c6
Closes-Bug: #1314178
-rw-r--r-- | designate/api/v2/views/floatingips.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/designate/api/v2/views/floatingips.py b/designate/api/v2/views/floatingips.py index a284df06..6e0d5185 100644 --- a/designate/api/v2/views/floatingips.py +++ b/designate/api/v2/views/floatingips.py @@ -26,7 +26,7 @@ class FloatingIPView(base_view.BaseView): _collection_name = 'floatingips' def _get_base_href(self, parents=None): - return '%s/reverse/floatingips' % self.base_uri + return '%s/v2/reverse/floatingips' % self.base_uri def show_basic(self, context, request, item): item['id'] = ":".join([item.pop('region'), item.pop('id')]) |