diff options
author | Todd Willey <todd@ansolabs.com> | 2011-03-22 21:07:10 +0000 |
---|---|---|
committer | Tarmac <> | 2011-03-22 21:07:10 +0000 |
commit | c67f240b14eb83f52c506f041c261554faac5c3e (patch) | |
tree | 5064382c42f3685b414e270c8f195bd07580789d | |
parent | e40d692c55a02fa686e83bd87eca29a3cfa3d15e (diff) | |
parent | d06bce4b64b57551a722688a4038a4eaffa34278 (diff) | |
download | nova-c67f240b14eb83f52c506f041c261554faac5c3e.tar.gz nova-c67f240b14eb83f52c506f041c261554faac5c3e.tar.xz nova-c67f240b14eb83f52c506f041c261554faac5c3e.zip |
Fix a typo in the ec2 admin api.
-rw-r--r-- | nova/api/ec2/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/admin.py b/nova/api/ec2/admin.py index d9a4ef999..f32d0804f 100644 --- a/nova/api/ec2/admin.py +++ b/nova/api/ec2/admin.py @@ -60,7 +60,7 @@ def project_dict(project): def host_dict(host, compute_service, instances, volume_service, volumes, now): """Convert a host model object to a result dict""" - rv = {'hostanme': host, 'instance_count': len(instances), + rv = {'hostname': host, 'instance_count': len(instances), 'volume_count': len(volumes)} if compute_service: latest = compute_service['updated_at'] or compute_service['created_at'] |