From ed15c532d3555ce2eab0a3c17e39fae57dab5444 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 23 Oct 2021 01:12:07 +0200 Subject: [PATCH] [openapi] Lint: Disable funlen for swagger route registration Signed-off-by: Knut Ahlers --- swagger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swagger.go b/swagger.go index b06c7fd..a84bb67 100644 --- a/swagger.go +++ b/swagger.go @@ -57,7 +57,7 @@ func handleSwaggerRequest(w http.ResponseWriter, r *http.Request) { } } -//nolint:gocyclo // Makes no sense to split just to spare a little complexity +//nolint:funlen,gocyclo // Makes no sense to split just to spare a little complexity func registerSwaggerRoute(route plugins.HTTPRouteRegistrationArgs) error { fullPath := strings.Join([]string{ "",