chore: enable fatcontext linter

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
Matthieu MOREL 2025-08-04 18:08:00 +02:00
parent 789fddf25a
commit 9f782164b4
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ linters:
- depguard
- errorlint
- exptostd
- fatcontext
- gocritic
- godot
- loggercheck

View File

@ -3700,7 +3700,7 @@ func testEndpoints(t *testing.T, api *API, tr *testTargetRetriever, es storage.E
// Build a context with the correct request params.
ctx := context.Background()
for p, v := range test.params {
ctx = route.WithParam(ctx, p, v)
ctx = route.WithParam(ctx, p, v) //nolint:fatcontext // This is intentional to provide the route params.
}
req, err := request(method, test.query)