From bdfa4f6d1618d3a70ca34e5a838648f161b039ee Mon Sep 17 00:00:00 2001 From: naison <895703375@qq.com> Date: Mon, 9 Jun 2025 14:59:03 +0800 Subject: [PATCH] hotfix: grpc connect to daemon process ignore http_proxy and https_proxy (#633) --- pkg/daemon/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/daemon/client.go b/pkg/daemon/client.go index be167746..7a48bd4c 100644 --- a/pkg/daemon/client.go +++ b/pkg/daemon/client.go @@ -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 }