diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2010-06-24 04:11:59 +0100 |
|---|---|---|
| committer | andy <github@anarkystic.com> | 2010-06-24 04:11:59 +0100 |
| commit | 2793fc76e92a8779b5789f7b5f5b5918fa20eda8 (patch) | |
| tree | 1901c8abccb936ebf4c348740409325778263917 | |
| parent | 08619dd37a1bc00423a1f09859f7e5d8ba4f3ced (diff) | |
| download | nova-2793fc76e92a8779b5789f7b5f5b5918fa20eda8.tar.gz nova-2793fc76e92a8779b5789f7b5f5b5918fa20eda8.tar.xz nova-2793fc76e92a8779b5789f7b5f5b5918fa20eda8.zip | |
fix display of project name for admin in describe instances
| -rw-r--r-- | nova/endpoint/cloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/endpoint/cloud.py b/nova/endpoint/cloud.py index 3ff0364b0..9903328dc 100644 --- a/nova/endpoint/cloud.py +++ b/nova/endpoint/cloud.py @@ -400,7 +400,7 @@ class CloudController(object): i['key_name'] = instance.get('key_name', None) if context.user.is_admin(): i['key_name'] = '%s (%s, %s)' % (i['key_name'], - instance.get('owner_id', None), instance.get('node_name','')) + instance.get('project_id', None), instance.get('node_name','')) i['product_codes_set'] = self._convert_to_set( instance.get('product_codes', None), 'product_code') i['instance_type'] = instance.get('instance_type', None) |
