diff options
author | Eugeniya Kudryashova <ekudryashova@mirantis.com> | 2014-10-24 15:21:11 +0300 |
---|---|---|
committer | Davanum Srinivas <dims@linux.vnet.ibm.com> | 2014-10-30 18:27:20 -0400 |
commit | 4e63a3b34dbfdfd25ad573d1d94baf6eb28cba51 (patch) | |
tree | 5d24c168a446c88fff0edf49e5a92abee63ea72d /nova/api/compute_req_id.py | |
parent | 47468651bde29abaa50534bcb05c0c48a39e236e (diff) | |
download | nova-4e63a3b34dbfdfd25ad573d1d94baf6eb28cba51.tar.gz |
Use oslo.middleware
Remove outdated code and replace its usages by usages of oslo.middleware
library
Sync latest request_id middleware from oslo-incubator(only to allow
grenade jobs pass)
4ffc4c8 Add middleware.request_id shim for Kilo
4504e4f Remove middleware
Co-Authored-By: Abhishek Chanda <abhishek@cloudscaling.com>
Co-Authored-By: Davanum Srinivas <dims@linux.vnet.ibm.com>
Change-Id: I89ef3df1b8d3b2c6e391d04e89e35f2ee974a3cc
Diffstat (limited to 'nova/api/compute_req_id.py')
-rw-r--r-- | nova/api/compute_req_id.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/compute_req_id.py b/nova/api/compute_req_id.py index 2118d96eb0..711756e686 100644 --- a/nova/api/compute_req_id.py +++ b/nova/api/compute_req_id.py @@ -23,10 +23,10 @@ Responses for APIv3 are taken care of by the request_id middleware provided in oslo. """ +from oslo.middleware import base import webob.dec from nova.openstack.common import context -from nova.openstack.common.middleware import base ENV_REQUEST_ID = 'openstack.request_id' |