summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Lane <rlane@wikimedia.org>2011-03-11 21:09:49 +0000
committerTarmac <>2011-03-11 21:09:49 +0000
commit8aed0d240022ad65a9a06f24e516ff98a01a237f (patch)
tree07b0d28d26902907ec560a9c2bb542554ba83b51
parent34943730a339cb902e49909571c5e83675b1f00d (diff)
parentc5bfab9a0d213cee549371f05e74747cfcd8f998 (diff)
downloadnova-8aed0d240022ad65a9a06f24e516ff98a01a237f.tar.gz
nova-8aed0d240022ad65a9a06f24e516ff98a01a237f.tar.xz
nova-8aed0d240022ad65a9a06f24e516ff98a01a237f.zip
Changes the output of status in describe_volumes from showing the user as the owner of the volume to showing the project as the owner.
-rw-r--r--nova/api/ec2/cloud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py
index b1917e9ea..cadda97db 100644
--- a/nova/api/ec2/cloud.py
+++ b/nova/api/ec2/cloud.py
@@ -562,7 +562,7 @@ class CloudController(object):
if context.is_admin:
v['status'] = '%s (%s, %s, %s, %s)' % (
volume['status'],
- volume['user_id'],
+ volume['project_id'],
volume['host'],
instance_data,
volume['mountpoint'])