[openapi] Lint: Disable funlen for swagger route registration

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-10-23 01:12:07 +02:00
parent 4ead12f536
commit ed15c532d3
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -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 { func registerSwaggerRoute(route plugins.HTTPRouteRegistrationArgs) error {
fullPath := strings.Join([]string{ fullPath := strings.Join([]string{
"", "",