summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2010-07-28 16:53:39 +0000
committerTarmac <>2010-07-28 16:53:39 +0000
commit3133db01e98e3e1a2f358de1a6ef5f70fc5121f2 (patch)
tree5b8f16f4525273e77e7986f92f1915661aafc26c /nova
parentb17c5512b8116a8ef3da632444ec849533b6e42a (diff)
parentc13b2fedb3cb6260fe132677a012a913c7249458 (diff)
downloadnova-3133db01e98e3e1a2f358de1a6ef5f70fc5121f2.tar.gz
nova-3133db01e98e3e1a2f358de1a6ef5f70fc5121f2.tar.xz
nova-3133db01e98e3e1a2f358de1a6ef5f70fc5121f2.zip
Fixed a typo from the the refactor of auth code
Diffstat (limited to 'nova')
-rw-r--r--nova/endpoint/cloud.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/endpoint/cloud.py b/nova/endpoint/cloud.py
index 76ca35320..0940c5d8a 100644
--- a/nova/endpoint/cloud.py
+++ b/nova/endpoint/cloud.py
@@ -49,8 +49,8 @@ flags.DEFINE_string('cloud_topic', 'cloud', 'the topic clouds listen on')
def _gen_key(user_id, key_name):
""" Tuck this into AuthManager """
try:
- manager = manager.AuthManager()
- private_key, fingerprint = manager.generate_key_pair(user_id, key_name)
+ mgr = manager.AuthManager()
+ private_key, fingerprint = mgr.generate_key_pair(user_id, key_name)
except Exception as ex:
return {'exception': ex}
return {'private_key': private_key, 'fingerprint': fingerprint}