mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-09-27 03:36:09 +08:00
hotfix: grpc connect to daemon process ignore http_proxy and https_proxy (#633)
This commit is contained in:
@@ -37,7 +37,7 @@ func GetClient(isSudo bool) (cli rpc.DaemonClient, err error) {
|
||||
}
|
||||
|
||||
ctx := context.Background()
|
||||
conn, err := grpc.NewClient("unix:"+sockPath, grpc.WithTransportCredentials(insecure.NewCredentials()))
|
||||
conn, err := grpc.NewClient("unix:"+sockPath, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithNoProxy())
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user