Fix lint error
This commit is contained in:
parent
6aacada852
commit
434fac52b7
3 changed files with 9 additions and 7 deletions
4
app.go
4
app.go
|
@ -355,9 +355,7 @@ func (h *Headscale) Serve() error {
|
|||
h.cfg.UnixSocket,
|
||||
[]grpc.DialOption{
|
||||
grpc.WithInsecure(),
|
||||
grpc.WithDialer(func(addr string, timeout time.Duration) (net.Conn, error) {
|
||||
return net.DialTimeout("unix", addr, timeout)
|
||||
}),
|
||||
grpc.WithContextDialer(GrpcSocketDialer),
|
||||
}...,
|
||||
)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue