From cff6cf6970e2c0cf621a5c060da3717520d29a86 Mon Sep 17 00:00:00 2001 From: kl7sn Date: Tue, 20 Feb 2024 15:19:11 +0800 Subject: [PATCH] grpc client & golint Signed-off-by: kl7sn --- .github/workflows/go.yml | 1 + client/egrpc/config_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0b406bab..f8e8cd14 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -15,6 +15,7 @@ jobs: uses: actions/setup-go@v2 with: go-version: 1.21 + - name: Build run: go build -v ./... diff --git a/client/egrpc/config_test.go b/client/egrpc/config_test.go index 9bfc147a..02b1635f 100644 --- a/client/egrpc/config_test.go +++ b/client/egrpc/config_test.go @@ -33,5 +33,6 @@ func TestDefaultConfig(t *testing.T) { EnableServiceConfig: true, keepAlive: nil, dialOptions: nil, + MaxCallRecvMsgSize: DefaultMaxCallRecvMsgSize, }, DefaultConfig())) }