Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rubyserver/health.go')
-rw-r--r--internal/rubyserver/health.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/rubyserver/health.go b/internal/rubyserver/health.go
index fd7b32747..10550d7dc 100644
--- a/internal/rubyserver/health.go
+++ b/internal/rubyserver/health.go
@@ -1,7 +1,6 @@
package rubyserver
import (
- "net"
"time"
"golang.org/x/net/context"
@@ -13,9 +12,6 @@ func ping(address string) error {
conn, err := grpc.Dial(
address,
grpc.WithInsecure(),
- grpc.WithDialer(func(addr string, timeout time.Duration) (net.Conn, error) {
- return net.DialTimeout("unix", addr, timeout)
- }),
)
if err != nil {
return err