mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-31 02:34:07 +09:00
Fix lint error
This commit is contained in:
1 parent
6aacada852
commit
434fac52b7
3 files changed
+9
-7
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user