Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Nov 27, 2024
1 parent 637e427 commit 20c282c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pkg/trace/buffered_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ import (
"bufio"
"context"
"errors"
"github.com/tendermint/tendermint/libs/log"
"io"
"os"
"sync"
"sync/atomic"
"time"

"github.com/tendermint/tendermint/libs/log"
)

// bufferedFile is a file that is being written to and read from. It is thread
Expand Down
3 changes: 2 additions & 1 deletion pkg/trace/local_tracer_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package trace

import (
"context"
"fmt"
"io"
"net"
Expand Down Expand Up @@ -159,7 +160,7 @@ func setupLocalTracer(t *testing.T, port int) *LocalTracer {
cfg.Instrumentation.TracingTables = testEventTable
cfg.Instrumentation.TracePullAddress = fmt.Sprintf(":%d", port)

client, err := NewLocalTracer(cfg, logger, "test_chain", "test_node")
client, err := NewLocalTracer(context.Background(), cfg, logger, "test_chain", "test_node")
if err != nil {
t.Fatalf("failed to create local client: %v", err)
}
Expand Down

0 comments on commit 20c282c

Please sign in to comment.