fix grpc dialer

This commit is contained in:
ginuerzh
2022-08-19 22:26:40 +08:00
parent 4c1da3e4d4
commit 8098e9f976
3 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ func (d *grpcDialer) Dial(ctx context.Context, addr string, opts ...dialer.DialO
d.clients[addr] = client
}
cli, err := client.TunnelX(ctx, d.md.path)
cli, err := client.TunnelX(context.Background(), d.md.path)
if err != nil {
return nil, err
}