Created
May 24, 2017 19:08
-
-
Save sdague/863d31d4dba44193c6095b21566cd7fa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/nova/api/openstack/compute/hide_server_addresses.py b/nova/api/openstack/compute/hide_server_addresses.py | |
index 07f23599df..6ea55be27f 100644 | |
--- a/nova/api/openstack/compute/hide_server_addresses.py | |
+++ b/nova/api/openstack/compute/hide_server_addresses.py | |
@@ -59,7 +59,7 @@ class Controller(wsgi.Controller): | |
return | |
if 'server' in resp.obj and 'addresses' in resp.obj['server']: | |
- instance = req.get_db_instance(id) | |
+ instance = req.get_db_instance(resp.obj['server']['id']) | |
self._perhaps_hide_addresses(instance, resp.obj['server']) | |
@wsgi.extends |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment