Remove unused generate_request_id
The heat.common.context module has an unused function to generate the request id, this is now handled by the underlying oslo module so can now be removed. Change-Id: Iac5c2f8105dc88af5cae6937a68e1422694afe24
This commit is contained in:
parent
ae2b47d8fd
commit
b18c419f64
@ -11,8 +11,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import uuid
|
||||
|
||||
from heat.common import exception
|
||||
from heat.common import policy
|
||||
from heat.common import wsgi
|
||||
@ -23,10 +21,6 @@ from heat.openstack.common import local
|
||||
from heat.openstack.common.middleware import request_id
|
||||
|
||||
|
||||
def generate_request_id():
|
||||
return 'req-' + str(uuid.uuid4())
|
||||
|
||||
|
||||
class RequestContext(context.RequestContext):
|
||||
"""
|
||||
Stores information about the security context under which the user
|
||||
|
Loading…
Reference in New Issue
Block a user