diff options
| author | Ken Pepple <ken.pepple@gmail.com> | 2011-03-02 16:12:22 -0800 |
|---|---|---|
| committer | Ken Pepple <ken.pepple@gmail.com> | 2011-03-02 16:12:22 -0800 |
| commit | 0bf74ef365688476b2b3a44e353c0062989d33b5 (patch) | |
| tree | bb8c10cb4d5dadb09313b5617d46eea3f74b0511 /nova/api | |
| parent | 4243e8e2b41f1438023b1184b1281474b27b5467 (diff) | |
fixed _context typo
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/ec2/admin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/ec2/admin.py b/nova/api/ec2/admin.py index 51a06bb26..d9a4ef999 100644 --- a/nova/api/ec2/admin.py +++ b/nova/api/ec2/admin.py @@ -114,9 +114,9 @@ class AdminController(object): def __str__(self): return 'AdminController' - def describe_instance_types(self, _context, **_kwargs): + def describe_instance_types(self, context, **_kwargs): """Returns all active instance types data (vcpus, memory, etc.)""" - return {'instanceTypeSet': [db.instance_type_get_all(_context)]} + return {'instanceTypeSet': [db.instance_type_get_all(context)]} def describe_user(self, _context, name, **_kwargs): """Returns user data, including access and secret keys.""" |
