We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b03c198 commit 7c9384bCopy full SHA for 7c9384b
cmd/client/main.go
@@ -27,7 +27,6 @@ import (
27
"net/http"
28
"os"
29
"os/signal"
30
- "time"
31
32
"github.com/spf13/cobra"
33
"github.com/spf13/pflag"
@@ -252,7 +251,7 @@ func (c *Client) getUDSDialer(o *GrpcProxyClientOptions) (func(ctx context.Conte
252
251
253
switch o.mode {
254
case "grpc":
255
- dialOption := grpc.WithDialer(func(string, time.Duration) (net.Conn, error) {
+ dialOption := grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
256
// Ignoring addr and timeout arguments:
257
// addr - comes from the closure
258
// timeout - is turned off as this is test code and eases debugging.
0 commit comments