diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-08-11 13:22:22 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-09-23 10:02:55 +0300 |
commit | 6a5cb67aae77eb8167161bb3b027defdc96caf8f (patch) | |
tree | 9fcb58e40260b33b0ddd670f6964ccb0c08fb85f /client/dial_test.go | |
parent | 3e17670ce54496373d152f4fd054f48a4f5dbd66 (diff) |
sidechannel: Check `Close()` errors returned by the waiter
We don't properly check the error when closing the `SidechannelWaiter`
in many places. Fix this and drop the corresponding linting exceptions.
Diffstat (limited to 'client/dial_test.go')
-rw-r--r-- | client/dial_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/dial_test.go b/client/dial_test.go index 758ff1013..b862b4c3e 100644 --- a/client/dial_test.go +++ b/client/dial_test.go @@ -247,7 +247,7 @@ func TestDialSidechannel(t *testing.T) { return nil }) - defer scw.Close() + defer testhelper.MustClose(t, scw) req := &healthpb.HealthCheckRequest{Service: "test sidechannel"} _, err = healthpb.NewHealthClient(conn).Check(ctx, req) |