summaryrefslogtreecommitdiffstats
path: root/nova/db
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-05-15 22:21:33 +0000
committerGerrit Code Review <review@openstack.org>2013-05-15 22:21:33 +0000
commit3cbc0f32ad03c7e2a732405f078d2d548afce74a (patch)
tree1a155f4296e5fc423ea88f8922f0e2e5333b9be9 /nova/db
parent6514a505308dbf8b6e61095e4cf25f7d3ab7821f (diff)
parentcefba4ce8012ad9cafbce87fdb569b41c80d90cd (diff)
Merge "Add missing tests for db.fixed_ip_*(). functions."
Diffstat (limited to 'nova/db')
-rw-r--r--nova/db/sqlalchemy/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/db/sqlalchemy/api.py b/nova/db/sqlalchemy/api.py
index 5aa437a55..a35e8154d 100644
--- a/nova/db/sqlalchemy/api.py
+++ b/nova/db/sqlalchemy/api.py
@@ -1050,7 +1050,7 @@ def fixed_ip_create(context, values):
fixed_ip_ref = models.FixedIp()
fixed_ip_ref.update(values)
fixed_ip_ref.save()
- return fixed_ip_ref['address']
+ return fixed_ip_ref
@require_context