From 72c34af573037a58ae74f452f3a2ebfefc44f927 Mon Sep 17 00:00:00 2001 From: tiancaiamao Date: Tue, 27 Dec 2022 18:27:08 +0800 Subject: [PATCH] make lint check happy --- autoid_service/autoid_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoid_service/autoid_test.go b/autoid_service/autoid_test.go index ddde3113380b2..df2722309cf6e 100644 --- a/autoid_service/autoid_test.go +++ b/autoid_service/autoid_test.go @@ -162,10 +162,10 @@ func TestGRPC(t *testing.T) { addr = fmt.Sprintf("127.0.0.1:%d", port) listener, err = net.Listen("tcp", addr) if err == nil { - defer listener.Close() break } } + defer listener.Close() service := newWithCli(addr, etcdCli, store) defer service.Close()