update linters for go1.25 base version

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2026-01-09 18:54:15 -08:00
parent 8037f199db
commit c5154b3169
30 changed files with 76 additions and 77 deletions
+2 -1
View File
@@ -66,7 +66,8 @@ func GitServeHTTP(c *gitutil.Git, t testing.TB, opts ...GitServeOpt) (url string
}
mux.Handle(prefix, handler(http.StripPrefix(prefix, http.FileServer(http.Dir(dir)))))
l, err := net.Listen("tcp", "localhost:0")
lc := net.ListenConfig{}
l, err := lc.Listen(ctx, "tcp", "localhost:0")
if err != nil {
panic(err)
}