build: update revive

And remove some unused variables.
This commit is contained in:
Vincent Bernat
2025-09-09 07:39:00 +02:00
parent ab9e7107f8
commit 31b6591e0e
8 changed files with 28 additions and 28 deletions

View File

@@ -256,7 +256,7 @@ module2:
}
func TestHTTPConfiguration(t *testing.T) {
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
w.Header().Set("Content-Type", "application/yaml; charset=utf-8")
fmt.Fprint(w, `---
module1: