diff options
author | Jenkins <jenkins@review.openstack.org> | 2011-11-01 15:06:08 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2011-11-01 15:06:08 +0000 |
commit | e9f1f3a0ef4968a74f2ec0fcd9c6e40ff1f8a48f (patch) | |
tree | c72601aa0c8b7c8a57d0e1495ee010ac3839b554 /nova/utils.py | |
parent | d4b0c0615f3c5d83d425619ceb400793524e5949 (diff) | |
parent | b04d71f5418b7717cc7c55b0780108c8cef7c253 (diff) | |
download | nova-e9f1f3a0ef4968a74f2ec0fcd9c6e40ff1f8a48f.tar.gz nova-e9f1f3a0ef4968a74f2ec0fcd9c6e40ff1f8a48f.tar.xz nova-e9f1f3a0ef4968a74f2ec0fcd9c6e40ff1f8a48f.zip |
Merge "Fixes lp883279"
Diffstat (limited to 'nova/utils.py')
-rw-r--r-- | nova/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/utils.py b/nova/utils.py index ad585ba1c..9a01a6fb8 100644 --- a/nova/utils.py +++ b/nova/utils.py @@ -339,7 +339,7 @@ def usage_from_instance(instance_ref, **kw): usage_info = dict( tenant_id=instance_ref['project_id'], user_id=instance_ref['user_id'], - instance_id=instance_ref['id'], + instance_id=instance_ref['uuid'], instance_type=instance_ref['instance_type']['name'], instance_type_id=instance_ref['instance_type_id'], display_name=instance_ref['display_name'], |