summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorWilliam Wolf <throughnothing@gmail.com>2011-08-10 15:47:22 -0400
committerWilliam Wolf <throughnothing@gmail.com>2011-08-10 15:47:22 -0400
commit203326be6c4acdd474fe307fb608ef35d95e0a4e (patch)
treecb63bfe484e9b77cc7cd771c3ad27b6da875ab60 /nova/utils.py
parentcec8ee56a3a2b43ba3c257390b89ef54a79aa78a (diff)
downloadnova-203326be6c4acdd474fe307fb608ef35d95e0a4e.tar.gz
nova-203326be6c4acdd474fe307fb608ef35d95e0a4e.tar.xz
nova-203326be6c4acdd474fe307fb608ef35d95e0a4e.zip
tenant_id -> project_id
Diffstat (limited to 'nova/utils.py')
-rw-r--r--nova/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/utils.py b/nova/utils.py
index 372358b42..4b068e3a5 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -291,7 +291,7 @@ EASIER_PASSWORD_SYMBOLS = ('23456789' # Removed: 0, 1
def usage_from_instance(instance_ref, **kw):
usage_info = dict(
- tenant_id=instance_ref['project_id'],
+ project_id=instance_ref['project_id'],
user_id=instance_ref['user_id'],
instance_id=instance_ref['id'],
instance_type=instance_ref['instance_type']['name'],