Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Pagnoux <guillaume.pagnoux@datadoghq.com>
  • Loading branch information
Yumasi committed Dec 18, 2023
1 parent 256cee3 commit 2627d6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/network/tracer/testutil/grpc/server_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ import (
// Returns the command executed and a callback to start sending requests.
func NewGRPCTLSServer(t *testing.T) (*exec.Cmd, context.CancelFunc) {
serverBin := buildGRPCServerBin(t)
serverCmd := fmt.Sprintf("%s", serverBin)

cancelCtx, cancel := context.WithCancel(context.Background())
c, _, err := nettestutil.StartCommandCtx(cancelCtx, serverCmd)
c, _, err := nettestutil.StartCommandCtx(cancelCtx, serverBin)

require.NoError(t, err)
return c, cancel
Expand Down

0 comments on commit 2627d6b

Please sign in to comment.