summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Waldon <brian.waldon@rackspace.com>2011-07-26 14:06:02 -0400
committerBrian Waldon <brian.waldon@rackspace.com>2011-07-26 14:06:02 -0400
commit24e1f23dbaf9ffd3f42fe05c24b980a6a0f09499 (patch)
tree3b8e11fdd84b4c07bc487eef05f875138f8946a5
parente56d49721a22a1c337c6543c37bdd798a5c5230d (diff)
downloadnova-24e1f23dbaf9ffd3f42fe05c24b980a6a0f09499.tar.gz
nova-24e1f23dbaf9ffd3f42fe05c24b980a6a0f09499.tar.xz
nova-24e1f23dbaf9ffd3f42fe05c24b980a6a0f09499.zip
removing extra function
-rw-r--r--nova/api/openstack/servers.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py
index 06112eee3..618778ea3 100644
--- a/nova/api/openstack/servers.py
+++ b/nova/api/openstack/servers.py
@@ -480,17 +480,6 @@ class ControllerV11(Controller):
except exception.NotFound:
raise exc.HTTPNotFound()
- def _href_from_bookmark_links(self, links):
- for link in links:
- try:
- if link.get('rel') == 'bookmark':
- href = link.get('href')
- if href is not None:
- return href
- except AttributeError:
- msg = _("Malformed link entity")
- raise exc.HTTPBadRequest(explanation=msg)
-
def _image_ref_from_req_data(self, data):
try:
return data['server']['imageRef']