change log level
Change-Id: I144e9b512a259366003f924ba8e782bf03f0a9a1
This commit is contained in:
parent
7dd4f3eaf2
commit
16320c8cae
@ -33,10 +33,10 @@ class CustomConfigController(wsgi.Controller):
|
||||
|
||||
@wsgi.wrap_check_policy
|
||||
def set_config(self, req, body):
|
||||
LOG.info(req)
|
||||
LOG.debug(req)
|
||||
if len(req.body) == 0:
|
||||
return {"code": -1, "msg": "invalid param"}
|
||||
LOG.info(body)
|
||||
LOG.debug(body)
|
||||
id = body.get("id", None)
|
||||
value = body.get("value", None)
|
||||
if id is None or value is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user