diff options
Diffstat (limited to 'nova/api/openstack/compute/server_topology.py')
-rw-r--r-- | nova/api/openstack/compute/server_topology.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/api/openstack/compute/server_topology.py b/nova/api/openstack/compute/server_topology.py index 9d4cc4a5d6..a1695e29fc 100644 --- a/nova/api/openstack/compute/server_topology.py +++ b/nova/api/openstack/compute/server_topology.py @@ -35,7 +35,8 @@ class ServerTopologyController(wsgi.Controller): target={'project_id': instance.project_id}) host_policy = (st_policies.BASE_POLICY_NAME % 'host:index') - show_host_info = context.can(host_policy, fatal=False) + show_host_info = context.can(host_policy, + target={'project_id': instance.project_id}, fatal=False) return self._get_numa_topology(context, instance, show_host_info) |