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.

This commit is contained in:
Ryan Lane
2011-03-11 21:09:49 +00:00
committed by Tarmac

View File

@@ -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'])