Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Remove redundent tagging.
Browse files Browse the repository at this point in the history
  • Loading branch information
JorikSchellekens committed Aug 5, 2019
1 parent 0395869 commit 7ab2088
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions synapse/handlers/e2e_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ def upload_keys_for_user(self, user_id, device_id, keys):

# TODO: Validate the JSON to make sure it has the right keys.
device_keys = keys.get("device_keys", None)
opentracing.set_tag("device_keys", device_keys)
if device_keys:
logger.info(
"Updating device_keys for device %r for user %s at %d",
Expand All @@ -330,7 +329,6 @@ def upload_keys_for_user(self, user_id, device_id, keys):
{"message": "Not updating device_keys for user", "user_id": user_id}
)
one_time_keys = keys.get("one_time_keys", None)
opentracing.set_tag("one_time_keys", one_time_keys)
if one_time_keys:
opentracing.log_kv(
{
Expand Down
2 changes: 0 additions & 2 deletions synapse/rest/client/v2_alpha/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ def on_GET(self, request):

user_id = requester.user.to_string()

opentracing.set_tag("user_id", user_id)

results = yield self.device_handler.get_user_ids_changed(user_id, from_token)

return (200, results)
Expand Down

0 comments on commit 7ab2088

Please sign in to comment.