diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-05-31 15:28:23 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-05-31 15:28:23 +0000 |
| commit | 541052688f3dda64bc2cceb52ffddb50968322d9 (patch) | |
| tree | c14bca17176a22e35f9410d7dabc55fbb0026c1d | |
| parent | 0f2142b14adc442840c79a48add0dab78acf7c93 (diff) | |
| parent | c41fad5015bff7341d6952ed645f639917ada529 (diff) | |
| download | nova-541052688f3dda64bc2cceb52ffddb50968322d9.tar.gz nova-541052688f3dda64bc2cceb52ffddb50968322d9.tar.xz nova-541052688f3dda64bc2cceb52ffddb50968322d9.zip | |
Merge "Add a note on why quota classes are unused in Nova"
| -rw-r--r-- | nova/context.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nova/context.py b/nova/context.py index 9555f9fc1..bca5dec0f 100644 --- a/nova/context.py +++ b/nova/context.py @@ -78,7 +78,12 @@ class RequestContext(object): request_id = generate_request_id() self.request_id = request_id self.auth_token = auth_token + + # NOTE(markmc): this attribute is currently only used by the + # rs_limits turnstile pre-processor. + # See https://lists.launchpad.net/openstack/msg12200.html self.quota_class = quota_class + if overwrite or not hasattr(local.store, 'context'): self.update_store() |
