Skip to content

Commit ba357fb

Browse files
reggiemcdonaldreggiemcdonald
authored andcommitted
fix: lint
1 parent e2f6c86 commit ba357fb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

instrumentation/github.com/gocql/gocql/example_session_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"github.com/gocql/gocql"
2222
)
2323

24-
func ExampleTracedSession() {
24+
func ExampleNewSessionWithTracing() {
2525
// Create a cluster
2626
host := "localhost"
2727
cluster := gocql.NewCluster(host)

instrumentation/github.com/gocql/gocql/observer.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type OTelQueryObserver struct {
3232
enabled bool
3333
observer gocql.QueryObserver
3434
tracer trace.Tracer
35-
inst *instruments
35+
inst *instruments
3636
}
3737

3838
// OTelBatchObserver implements the gocql.BatchObserver interface
@@ -41,7 +41,7 @@ type OTelBatchObserver struct {
4141
enabled bool
4242
observer gocql.BatchObserver
4343
tracer trace.Tracer
44-
inst *instruments
44+
inst *instruments
4545
}
4646

4747
// OTelConnectObserver implements the gocql.ConnectObserver interface
@@ -51,7 +51,7 @@ type OTelConnectObserver struct {
5151
enabled bool
5252
observer gocql.ConnectObserver
5353
tracer trace.Tracer
54-
inst *instruments
54+
inst *instruments
5555
}
5656

5757
// ------------------------------------------ Observer Functions

0 commit comments

Comments
 (0)