diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2021-03-03 14:35:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 14:35:57 +0000 |
commit | d15836e260130f85edd5d9a104e5304f001d2681 (patch) | |
tree | a426e886cc66b3d676741010860cb794a6999b87 /setup/mscs | |
parent | f0139f12ca6f93b7626be369dc2a829c0326c6e0 (diff) |
Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783)
Diffstat (limited to 'setup/mscs')
-rw-r--r-- | setup/mscs/msc2836/msc2836.go | 1 | ||||
-rw-r--r-- | setup/mscs/msc2946/msc2946.go | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/setup/mscs/msc2836/msc2836.go b/setup/mscs/msc2836/msc2836.go index 95473f97..f47a42d9 100644 --- a/setup/mscs/msc2836/msc2836.go +++ b/setup/mscs/msc2836/msc2836.go @@ -238,7 +238,6 @@ func federatedEventRelationship( } } -// nolint:gocyclo func (rc *reqCtx) process() (*gomatrixserverlib.MSC2836EventRelationshipsResponse, *util.JSONResponse) { var res gomatrixserverlib.MSC2836EventRelationshipsResponse var returnEvents []*gomatrixserverlib.HeaderedEvent diff --git a/setup/mscs/msc2946/msc2946.go b/setup/mscs/msc2946/msc2946.go index a125fd78..6fdfeed6 100644 --- a/setup/mscs/msc2946/msc2946.go +++ b/setup/mscs/msc2946/msc2946.go @@ -217,7 +217,6 @@ func (w *walker) markSent(id string) { w.inMemoryBatchCache[w.callerID()] = m } -// nolint:gocyclo func (w *walker) walk() *gomatrixserverlib.MSC2946SpacesResponse { var res gomatrixserverlib.MSC2946SpacesResponse // Begin walking the graph starting with the room ID in the request in a queue of unvisited rooms |