Skip to content

Commit

Permalink
fix: rm unused var
Browse files Browse the repository at this point in the history
(cherry picked from commit 287560a)
  • Loading branch information
Zelldon authored and github-actions[bot] committed May 31, 2022
1 parent 823bc5e commit f4212d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/go/pkg/zbc/client_test.go
Expand Up @@ -185,7 +185,7 @@ func (s *clientTestSuite) TestDefaultUserAgent() {
ctx, cancel := context.WithTimeout(context.Background(), utils.DefaultTestTimeout)
defer cancel()

_, err = client.NewTopologyCommand().Send(ctx)
_, _ = client.NewTopologyCommand().Send(ctx)
userAgent := incomingContext["user-agent"]

// then
Expand Down Expand Up @@ -213,7 +213,7 @@ func (s *clientTestSuite) TestSpecificUserAgent() {
ctx, cancel := context.WithTimeout(context.Background(), utils.DefaultTestTimeout)
defer cancel()

_, err = client.NewTopologyCommand().Send(ctx)
_, _ = client.NewTopologyCommand().Send(ctx)
userAgent := incomingContext["user-agent"]

// then
Expand Down

0 comments on commit f4212d5

Please sign in to comment.