From 4a41e45c506a7adbb0540c0d61c50ccb7ae13686 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 6 Sep 2017 09:51:07 +0100 Subject: [PATCH] Ignore gocyclo lint for routing function --- src/github.com/matrix-org/dendrite/roomserver/query/query.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/github.com/matrix-org/dendrite/roomserver/query/query.go b/src/github.com/matrix-org/dendrite/roomserver/query/query.go index 7f8da9bf1..af75e51fe 100644 --- a/src/github.com/matrix-org/dendrite/roomserver/query/query.go +++ b/src/github.com/matrix-org/dendrite/roomserver/query/query.go @@ -387,6 +387,7 @@ func (r *RoomserverQueryAPI) QueryServerAllowedToSeeEvent( } // SetupHTTP adds the RoomserverQueryAPI handlers to the http.ServeMux. +// nolint: gocyclo func (r *RoomserverQueryAPI) SetupHTTP(servMux *http.ServeMux) { servMux.Handle( api.RoomserverQueryLatestEventsAndStatePath,