Skip to content

Commit 6ee110a

Browse files
committed
Update dependencies.
1 parent 3fdcae9 commit 6ee110a

File tree

3 files changed

+58
-204
lines changed

3 files changed

+58
-204
lines changed

extgrpc/ext_grpc_test.go

+7-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,13 @@ func TestEncodeDecodeStatus(t *testing.T) {
125125
return grpcstatus.Convert(err)
126126
},
127127
expectDetails: []interface{}{
128-
grpcstatus.New(codes.Internal, "status").Proto(), // Protobuf succeeds
128+
// Protobuf succeeds
129+
func() interface{} {
130+
var st interface{} = grpcstatus.New(codes.Internal, "status").Proto()
131+
res := reflect.New(reflect.TypeOf(st).Elem()).Interface()
132+
copyPublicFields(res, st)
133+
return res
134+
}(),
129135
nil, // gogoproto decode fails
130136
nil, // dummy decode fails
131137
},

go.mod

+20-11
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,33 @@
11
module github.com/cockroachdb/errors
22

3-
go 1.13
3+
go 1.17
44

55
require (
66
github.com/cockroachdb/datadriven v1.0.2
7-
github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f
7+
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b
88
github.com/cockroachdb/redact v1.1.3
9-
github.com/getsentry/sentry-go v0.12.0
9+
github.com/getsentry/sentry-go v0.18.0
1010
github.com/gogo/googleapis v1.4.1 // gogoproto 1.2-compatible, for CRDB
1111
github.com/gogo/protobuf v1.3.2
1212
github.com/gogo/status v1.1.0
1313
github.com/hydrogen18/memlistener v0.0.0-20200120041712-dcc25e7acd91
14-
github.com/kr/pretty v0.3.0
14+
github.com/kr/pretty v0.3.1
1515
github.com/pkg/errors v0.9.1
16-
github.com/rogpeppe/go-internal v1.8.1 // indirect
17-
github.com/stretchr/testify v1.7.0
18-
golang.org/x/sys v0.0.0-20220209214540-3681064d5158 // indirect
16+
github.com/stretchr/testify v1.8.1
17+
google.golang.org/grpc v1.51.0
18+
google.golang.org/protobuf v1.28.1
19+
)
20+
21+
require (
22+
github.com/davecgh/go-spew v1.1.1 // indirect
23+
github.com/golang/protobuf v1.5.2 // indirect
24+
github.com/kr/text v0.2.0 // indirect
25+
github.com/pmezard/go-difflib v1.0.0 // indirect
26+
github.com/rogpeppe/go-internal v1.9.0 // indirect
27+
golang.org/x/net v0.0.0-20221002022538-bcab6841153b // indirect
28+
golang.org/x/sys v0.5.0 // indirect
29+
golang.org/x/text v0.7.0 // indirect
1930
google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84 // indirect
20-
google.golang.org/grpc v1.38.0
21-
google.golang.org/protobuf v1.26.0
22-
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
23-
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
31+
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
32+
gopkg.in/yaml.v3 v3.0.1 // indirect
2433
)

0 commit comments

Comments
 (0)