Merge "Show neutron API request body with debug enabled"
This commit is contained in:
commit
6cfa969471
@ -551,6 +551,7 @@ class Controller(object):
|
|||||||
if not body:
|
if not body:
|
||||||
raise webob.exc.HTTPBadRequest(_("Resource body required"))
|
raise webob.exc.HTTPBadRequest(_("Resource body required"))
|
||||||
|
|
||||||
|
LOG.debug(_("Request body: %(body)s"), {'body': body})
|
||||||
prep_req_body = lambda x: Controller.prepare_request_body(
|
prep_req_body = lambda x: Controller.prepare_request_body(
|
||||||
context,
|
context,
|
||||||
x if resource in x else {resource: x},
|
x if resource in x else {resource: x},
|
||||||
|
Loading…
Reference in New Issue
Block a user