From 03d76fe8b21a259be52923922b0afdc9d3c61a72 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Thu, 24 May 2018 13:42:03 +0100 Subject: [PATCH] Make linting happy Signed-off-by: Andrew Morgan --- .../matrix-org/dendrite/appservice/routing/routing.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/appservice/routing/routing.go b/src/github.com/matrix-org/dendrite/appservice/routing/routing.go index 48ddd14ff..f0b8461dc 100644 --- a/src/github.com/matrix-org/dendrite/appservice/routing/routing.go +++ b/src/github.com/matrix-org/dendrite/appservice/routing/routing.go @@ -32,11 +32,11 @@ const pathPrefixApp = "/_matrix/app/r0" // Setup registers HTTP handlers with the given ServeMux. It also supplies the given http.Client // to clients which need to make outbound HTTP requests. func Setup( - apiMux *mux.Router, cfg config.Dendrite, - queryAPI api.RoomserverQueryAPI, aliasAPI api.RoomserverAliasAPI, - accountDB *accounts.Database, - federation *gomatrixserverlib.FederationClient, - transactionsCache *transactions.Cache, + apiMux *mux.Router, cfg config.Dendrite, // nolint: unparam + queryAPI api.RoomserverQueryAPI, aliasAPI api.RoomserverAliasAPI, // nolint: unparam + accountDB *accounts.Database, // nolint: unparam + federation *gomatrixserverlib.FederationClient, // nolint: unparam + transactionsCache *transactions.Cache, // nolint: unparam ) { appMux := apiMux.PathPrefix(pathPrefixApp).Subrouter()