diff options
author | Jorik Schellekens <joriksch@gmail.com> | 2019-09-05 14:46:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-05 14:46:04 +0100 |
commit | 909827b422eb3396f905a1fb7ad1732f9727d500 (patch) | |
tree | 302b03db1a62db38635b9e8e4c8b1588a2523059 /synapse/http/servlet.py | |
parent | Switch to using v2 Identity Service APIs other than lookup (MSC 2140) (#5892) (diff) | |
download | synapse-909827b422eb3396f905a1fb7ad1732f9727d500.tar.xz |
Add opentracing to all client servlets (#5983)
Diffstat (limited to 'synapse/http/servlet.py')
-rw-r--r-- | synapse/http/servlet.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/synapse/http/servlet.py b/synapse/http/servlet.py index c186b31f59..274c1a6a87 100644 --- a/synapse/http/servlet.py +++ b/synapse/http/servlet.py @@ -20,7 +20,6 @@ import logging from canonicaljson import json from synapse.api.errors import Codes, SynapseError -from synapse.logging.opentracing import trace_servlet logger = logging.getLogger(__name__) @@ -298,10 +297,7 @@ class RestServlet(object): servlet_classname = self.__class__.__name__ method_handler = getattr(self, "on_%s" % (method,)) http_server.register_paths( - method, - patterns, - trace_servlet(servlet_classname)(method_handler), - servlet_classname, + method, patterns, method_handler, servlet_classname ) else: |