Skip to content

Commit

Permalink
Fix Clickhouse go.mod (#1069)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanmehrotra authored Oct 3, 2024
1 parent afe1cee commit 37891d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/gofr/datasource/clickhouse/clickhouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ func (c *client) UseMetrics(metrics interface{}) {

// UseTracer sets the tracer for Clickhouse client.
func (c *client) UseTracer(tracer any) {
if tracer, ok := tracer.(trace.Tracer); ok {
c.tracer = tracer
if t, ok := tracer.(trace.Tracer); ok {
c.tracer = t
}
}

Expand Down
4 changes: 2 additions & 2 deletions pkg/gofr/datasource/clickhouse/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ go 1.22
require (
github.com/ClickHouse/clickhouse-go/v2 v2.25.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/otel v1.26.0
go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/mock v0.4.0
)

Expand All @@ -22,8 +24,6 @@ require (
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/segmentio/asm v1.2.0 // indirect
github.com/shopspring/decimal v1.4.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/trace v1.26.0 // indirect
golang.org/x/sys v0.18.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

0 comments on commit 37891d1

Please sign in to comment.