mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-25 00:05:17 -04:00
cli: support http proxy
This commit is contained in:
parent
a5a7cec11b
commit
d6567ec52d
5 changed files with 7 additions and 7 deletions
|
@ -67,6 +67,9 @@ func (d *Dialer) DialNoVerify(target string) (*grpc.ClientConn, error) {
|
|||
}
|
||||
|
||||
func (d *Dialer) grpcWithDialer() grpc.DialOption {
|
||||
if d.netDialer == nil {
|
||||
return grpc.EmptyDialOption{}
|
||||
}
|
||||
return grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) {
|
||||
return d.netDialer.DialContext(ctx, "tcp", addr)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue