Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Commit aa493c7

Browse files
committed
Ignore errors when we are closing the listener
1 parent 6860165 commit aa493c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func Serve(socketPath string) error {
3737
if err != nil {
3838
return err
3939
}
40-
defer listener.Close()
40+
defer listener.Close() //nolint:errcheck
4141

4242
s := grpc.NewServer()
4343
local.RegisterLocalServer(s, &LocalServer{})

0 commit comments

Comments
 (0)