mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-26 15:08:28 +00:00
Remove nolint: gocyclo from relayapi routing setup
This commit is contained in:
parent
529feb07ee
commit
2f8377e94b
1 changed files with 0 additions and 4 deletions
|
@ -34,10 +34,6 @@ import (
|
||||||
// The provided publicAPIMux MUST have `UseEncodedPath()` enabled or else routes will incorrectly
|
// The provided publicAPIMux MUST have `UseEncodedPath()` enabled or else routes will incorrectly
|
||||||
// path unescape twice (once from the router, once from MakeRelayAPI). We need to have this enabled
|
// path unescape twice (once from the router, once from MakeRelayAPI). We need to have this enabled
|
||||||
// so we can decode paths like foo/bar%2Fbaz as [foo, bar/baz] - by default it will decode to [foo, bar, baz]
|
// so we can decode paths like foo/bar%2Fbaz as [foo, bar/baz] - by default it will decode to [foo, bar, baz]
|
||||||
//
|
|
||||||
// Due to Setup being used to call many other functions, a gocyclo nolint is
|
|
||||||
// applied:
|
|
||||||
// nolint: gocyclo
|
|
||||||
func Setup(
|
func Setup(
|
||||||
fedMux *mux.Router,
|
fedMux *mux.Router,
|
||||||
cfg *config.FederationAPI,
|
cfg *config.FederationAPI,
|
||||||
|
|
Loading…
Reference in a new issue