mirror of
https://github.com/traefik/traefik
synced 2026-02-03 10:00:33 +00:00
chore: update linter
This commit is contained in:
committed by
GitHub
parent
fc875b38e0
commit
141abce2d5
@@ -31,7 +31,6 @@ func NewParser(matchers []string) (predicate.Parser, error) {
|
||||
parserFuncs := make(map[string]interface{})
|
||||
|
||||
for _, matcherName := range matchers {
|
||||
matcherName := matcherName
|
||||
fn := func(value ...string) TreeBuilder {
|
||||
return func() *Tree {
|
||||
return &Tree{
|
||||
|
||||
@@ -250,8 +250,6 @@ func TestRuleMatch(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
|
||||
for _, test := range testCases {
|
||||
test := test
|
||||
|
||||
t.Run(test.desc, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user