chore(deps): update golangci-lint to 2.4.0 (#1291)
This commit is contained in:
parent
27d3956182
commit
31611e13a4
|
|
@ -76,7 +76,7 @@ jobs:
|
|||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
|
||||
with:
|
||||
version: v2.2.2
|
||||
version: v2.4.0
|
||||
|
||||
api-check-translations:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
|
|
@ -60,7 +60,8 @@ func setupUnixSocket(e *echo.Echo) error {
|
|||
defer utils.Umask(oldmask)
|
||||
}
|
||||
|
||||
l, err := net.Listen("unix", path)
|
||||
cfg := net.ListenConfig{}
|
||||
l, err := cfg.Listen(context.Background(), "unix", path)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue