File tree 15 files changed +19
-42
lines changed 15 files changed +19
-42
lines changed Original file line number Diff line number Diff line change
1
+ ## [ 9.0.1] ( https://github.com/redis/go-redis/compare/v9.0.0...v9.0.1 ) (2023-01-30)
2
+
3
+
4
+
1
5
## v9 2023-01-30
2
6
3
7
### Added
Original file line number Diff line number Diff line change 5
5
replace github.com/redis/go-redis/v9 => ../..
6
6
7
7
require (
8
- github.com/redis/go-redis/v9 v9.0.0
8
+ github.com/redis/go-redis/v9 v9.0.1
9
9
go.uber.org/atomic v1.10.0 // indirect
10
10
go.uber.org/multierr v1.9.0 // indirect
11
11
go.uber.org/zap v1.24.0
Original file line number Diff line number Diff line change 4
4
5
5
replace github.com/redis/go-redis/v9 => ../..
6
6
7
- require github.com/redis/go-redis/v9 v9.0.0
7
+ require github.com/redis/go-redis/v9 v9.0.1
Original file line number Diff line number Diff line change 4
4
5
5
replace github.com/redis/go-redis/v9 => ../..
6
6
7
- require github.com/redis/go-redis/v9 v9.0.0
7
+ require github.com/redis/go-redis/v9 v9.0.1
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ replace github.com/redis/go-redis/extra/redisotel/v9 => ../../extra/redisotel
9
9
replace github.com/redis/go-redis/extra/rediscmd/v9 => ../../extra/rediscmd
10
10
11
11
require (
12
- github.com/redis/go-redis/extra/redisotel/v9 v9.0.0
13
- github.com/redis/go-redis/v9 v9.0.0
12
+ github.com/redis/go-redis/extra/redisotel/v9 v9.0.1
13
+ github.com/redis/go-redis/v9 v9.0.1
14
14
github.com/uptrace/uptrace-go v1.11.8
15
15
go.opentelemetry.io/otel v1.11.2
16
16
google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa // indirect
Original file line number Diff line number Diff line change 4
4
5
5
replace github.com/redis/go-redis/v9 => ../..
6
6
7
- require github.com/redis/go-redis/v9 v9.0.0
7
+ require github.com/redis/go-redis/v9 v9.0.1
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ replace github.com/redis/go-redis/v9 => ../..
6
6
7
7
require (
8
8
github.com/davecgh/go-spew v1.1.1
9
- github.com/redis/go-redis/v9 v9.0.0
9
+ github.com/redis/go-redis/v9 v9.0.1
10
10
)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ replace github.com/redis/go-redis/extra/rediscmd/v9 => ../rediscmd
8
8
9
9
require (
10
10
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
11
- github.com/redis/go-redis/extra/rediscmd/v9 v9.0.0
12
- github.com/redis/go-redis/v9 v9.0.0
11
+ github.com/redis/go-redis/extra/rediscmd/v9 v9.0.1
12
+ github.com/redis/go-redis/v9 v9.0.1
13
13
go.opencensus.io v0.24.0
14
14
)
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ replace github.com/redis/go-redis/v9 => ../..
7
7
require (
8
8
github.com/bsm/ginkgo/v2 v2.5.0
9
9
github.com/bsm/gomega v1.20.0
10
- github.com/redis/go-redis/v9 v9.0.0
10
+ github.com/redis/go-redis/v9 v9.0.1
11
11
)
Original file line number Diff line number Diff line change 4
4
"testing"
5
5
6
6
. "github.com/bsm/ginkgo/v2"
7
- . "github.com/bsm/ginkgo/v2/extensions/table"
8
7
. "github.com/bsm/gomega"
9
8
)
10
9
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ replace github.com/redis/go-redis/v9 => ../..
7
7
replace github.com/redis/go-redis/extra/rediscmd/v9 => ../rediscmd
8
8
9
9
require (
10
- github.com/redis/go-redis/extra/rediscmd/v9 v9.0.0
11
- github.com/redis/go-redis/v9 v9.0.0
10
+ github.com/redis/go-redis/extra/rediscmd/v9 v9.0.1
11
+ github.com/redis/go-redis/v9 v9.0.1
12
12
go.opentelemetry.io/otel v1.11.2
13
13
go.opentelemetry.io/otel/metric v0.34.0
14
14
go.opentelemetry.io/otel/sdk v1.9.0
Original file line number Diff line number Diff line change @@ -34,32 +34,6 @@ func TestNewWithTracerProvider(t *testing.T) {
34
34
}
35
35
}
36
36
37
- func TestNewWithAttributes (t * testing.T ) {
38
- provider := sdktrace .NewTracerProvider ()
39
- hook := newTracingHook ("" , WithTracerProvider (provider ), WithAttributes (semconv .NetPeerNameKey .String ("localhost" )))
40
- ctx , span := provider .Tracer ("redis-test" ).Start (context .TODO (), "redis-test" )
41
- cmd := redis .NewCmd (ctx , "ping" )
42
- defer span .End ()
43
-
44
- processHook := hook .ProcessHook (func (ctx context.Context , cmd redis.Cmder ) error {
45
- attrs := trace .SpanFromContext (ctx ).(sdktrace.ReadOnlySpan ).Attributes ()
46
- if ! (attrs [0 ] == semconv .DBSystemRedis ) {
47
- t .Fatalf ("expected attrs[0] to be semconv.DBSystemRedis, got: %v" , attrs [0 ])
48
- }
49
- if ! (attrs [1 ] == semconv .NetPeerNameKey .String ("localhost" )) {
50
- t .Fatalf ("expected attrs[1] to be semconv.NetPeerNameKey.String(\" localhost\" ), got: %v" , attrs [1 ])
51
- }
52
- if ! (attrs [2 ] == semconv .DBStatementKey .String ("ping" )) {
53
- t .Fatalf ("expected attrs[2] to be semconv.DBStatementKey.String(\" ping\" ), got: %v" , attrs [2 ])
54
- }
55
- return nil
56
- })
57
- err := processHook (ctx , cmd )
58
- if err != nil {
59
- t .Fatal (err )
60
- }
61
- }
62
-
63
37
func TestWithDBStatement (t * testing.T ) {
64
38
provider := sdktrace .NewTracerProvider ()
65
39
hook := newTracingHook (
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ replace github.com/redis/go-redis/v9 => ../..
6
6
7
7
require (
8
8
github.com/prometheus/client_golang v1.14.0
9
- github.com/redis/go-redis/v9 v9.0.0
9
+ github.com/redis/go-redis/v9 v9.0.1
10
10
)
11
11
12
12
require (
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " redis" ,
3
- "version" : " 9.0.0 " ,
3
+ "version" : " 9.0.1 " ,
4
4
"main" : " index.js" ,
5
5
"repository" :
" [email protected] :redis/go-redis.git" ,
6
6
"author" :
" Vladimir Mihailenco <[email protected] >" ,
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ package redis
2
2
3
3
// Version is the current release version.
4
4
func Version () string {
5
- return "9.0.0 "
5
+ return "9.0.1 "
6
6
}
You can’t perform that action at this time.
0 commit comments