diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-07-25 17:49:09 +0000 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-07-25 17:49:09 +0000 |
| commit | 8de3c0fcaee546fae3d415ef5ddcbb51fb1db6d7 (patch) | |
| tree | 13ecb0c8bdf77d78f1e01a9269a5da3a166767a5 /nova/api | |
| parent | 4e4bbda2a15df9f2366488d092bc466655a170b9 (diff) | |
fix for reviews
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/create_instance_helper.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/api/openstack/create_instance_helper.py b/nova/api/openstack/create_instance_helper.py index 2034e8ada..573153f68 100644 --- a/nova/api/openstack/create_instance_helper.py +++ b/nova/api/openstack/create_instance_helper.py @@ -77,6 +77,8 @@ class CreateInstanceHelper(object): key_name = None key_data = None + # TODO(vish): Key pair access should move into a common library + # instead of being accessed directly from the db. key_pairs = db.key_pair_get_all_by_user(context.elevated(), context.user_id) if key_pairs: |
