summaryrefslogtreecommitdiff
path: root/nova/api/auth.py
diff options
context:
space:
mode:
authorjichenjc <jichenjc@cn.ibm.com>2014-12-05 08:35:02 +0800
committerjichenjc <jichenjc@cn.ibm.com>2015-02-07 23:16:15 +0000
commite3857495bd0b414406380ef4a22a18396e6c544e (patch)
tree1156bde7b0106122eef8830661f37a19433a0858 /nova/api/auth.py
parent45e4d3a57431c43ac4ca146bbeae08583d3b06a9 (diff)
downloadnova-e3857495bd0b414406380ef4a22a18396e6c544e.tar.gz
Remove compability check for ratelimit_v3
The ratelimit_v3 can't be found in source code tree and It's already kilo, so we can remove the backward compatible code. Change-Id: Ide558a4d6652dd0a14ad5988cded5eaf2b90dcc4
Diffstat (limited to 'nova/api/auth.py')
-rw-r--r--nova/api/auth.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/nova/api/auth.py b/nova/api/auth.py
index d9db49fa0a..ae90a54465 100644
--- a/nova/api/auth.py
+++ b/nova/api/auth.py
@@ -24,7 +24,6 @@ import webob.exc
from nova import context
from nova.i18n import _
-from nova.i18n import _LW
from nova.openstack.common import log as logging
from nova import wsgi
@@ -66,12 +65,6 @@ def pipeline_factory(loader, global_conf, **local_conf):
limit_name = CONF.auth_strategy + '_nolimit'
pipeline = local_conf.get(limit_name, pipeline)
pipeline = pipeline.split()
- # NOTE (Alex Xu): This is just for configuration file compatibility.
- # If the configuration file still contains 'ratelimit_v3', just ignore it.
- # We will remove this code at next release (J)
- if 'ratelimit_v3' in pipeline:
- LOG.warning(_LW('ratelimit_v3 is removed from v3 api.'))
- pipeline.remove('ratelimit_v3')
return _load_pipeline(loader, pipeline)