Skip to content

Commit

Permalink
fix vet
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul2393 committed Jul 23, 2024
1 parent 5c3315c commit fcb133a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion spanner/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ require (
go.opentelemetry.io/otel v1.24.0
go.opentelemetry.io/otel/metric v1.24.0
golang.org/x/oauth2 v0.21.0
golang.org/x/sync v0.7.0
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028
google.golang.org/api v0.189.0
google.golang.org/genproto v0.0.0-20240722135656-d784300faade
Expand Down Expand Up @@ -45,7 +46,6 @@ require (
go.opentelemetry.io/otel/trace v1.24.0 // indirect
golang.org/x/crypto v0.25.0 // indirect
golang.org/x/net v0.27.0 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sys v0.22.0 // indirect
golang.org/x/text v0.16.0 // indirect
golang.org/x/time v0.5.0 // indirect
Expand Down
1 change: 0 additions & 1 deletion spanner/test/opentelemetry/test/ot_metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ func TestOTMetrics_SessionPool_SessionsCount(t *testing.T) {

client.Single().ReadRow(context.Background(), "Users", spanner.Key{"alice"}, []string{"email"})

//attributesNumInUseSessions := append(getAttributes(client.ClientID()), attribute.Key("type").String("num_in_use_sessions"))
attributesNumSessions := append(getAttributes(client.ClientID()), attribute.Key("type").String("num_sessions"))

expectedMetricData := metricdata.Metrics{
Expand Down

0 comments on commit fcb133a

Please sign in to comment.