Skip to content

Commit 281eb22

Browse files
committed
Remove deprecated dialer
Signed-off-by: Maksym Pavlenko <[email protected]>
1 parent 1ce7b99 commit 281eb22

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/dialer/dialer.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ func ContextDialer(ctx context.Context, address string) (net.Conn, error) {
3636
return timeoutDialer(address, 0)
3737
}
3838

39-
// Dialer returns a GRPC net.Conn connected to the provided address
40-
// Deprecated: use ContextDialer and grpc.WithContextDialer.
41-
var Dialer = timeoutDialer
42-
4339
func timeoutDialer(address string, timeout time.Duration) (net.Conn, error) {
4440
var (
4541
stopC = make(chan struct{})

0 commit comments

Comments
 (0)