summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-05-31 15:28:23 +0000
committerGerrit Code Review <review@openstack.org>2012-05-31 15:28:23 +0000
commit541052688f3dda64bc2cceb52ffddb50968322d9 (patch)
treec14bca17176a22e35f9410d7dabc55fbb0026c1d
parent0f2142b14adc442840c79a48add0dab78acf7c93 (diff)
parentc41fad5015bff7341d6952ed645f639917ada529 (diff)
downloadnova-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.py5
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()