Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
dkreuer committed Jan 12, 2024
1 parent fc60aec commit 0d23b67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion logger.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package traefik_plugin_fail2ban
package traefik_plugin_fail2ban //nolint:revive,stylecheck

import (
"fmt"
Expand All @@ -8,6 +8,7 @@ import (
"github.com/zerodha/logf"
)

// NewLogger creates new instance of logger.
func NewLogger(logLevel string) *logf.Logger {
parsedLogLevel, err := logf.LevelFromString(strings.ToLower(logLevel))
if err != nil {
Expand Down

0 comments on commit 0d23b67

Please sign in to comment.