chore: update linter.

This commit is contained in:
Ludovic Fernandez
2020-07-07 14:42:03 +02:00
committed by GitHub
parent d698eba1e7
commit a20e90aa17
91 changed files with 646 additions and 459 deletions

View File

@@ -8,6 +8,6 @@ import (
)
// getLogger creates a logger configured with the middleware fields.
func getLogger(ctx context.Context, middleware string, middlewareType string) logrus.FieldLogger {
func getLogger(ctx context.Context, middleware, middlewareType string) logrus.FieldLogger {
return log.FromContext(ctx).WithField(log.MiddlewareName, middleware).WithField(log.MiddlewareType, middlewareType)
}