Merge "[sytle] use http code constant instead of int"

This commit is contained in:
Zuul 2018-03-19 07:51:12 +00:00 committed by Gerrit Code Review
commit 4fb3b64549

View File

@ -203,7 +203,7 @@ class ServiceController(wsgi.Controller):
self.rpc_apis[service.binary].set_log_levels(context,
service, log_req)
return webob.Response(status_int=202)
return webob.Response(status_int=http_client.ACCEPTED)
def _get_log(self, context, body):
"""Get current log levels for services."""