Skip to content

Commit e738a20

Browse files
dependabot[bot]achettyiitrlvrachmihir20
authored
chore(deps): bump google.golang.org/grpc from 1.62.1 to 1.63.0 (#4544)
* chore(deps): bump google.golang.org/grpc from 1.62.1 to 1.63.0 Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.62.1 to 1.63.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.62.1...v1.63.0) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps): bump google.golang.org/grpc from 1.62.1 to 1.63.0 Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.62.1 to 1.63.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.62.1...v1.63.0) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * lint fixes * fix: SA1019: grpc.Dial is deprecated --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Akash Chetty <[email protected]> Co-authored-by: Leonidas Vrachnis <[email protected]> Co-authored-by: mihir <[email protected]>
1 parent 03eb2ab commit e738a20

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ require (
116116
golang.org/x/text v0.14.0
117117
google.golang.org/api v0.172.0
118118
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237
119-
google.golang.org/grpc v1.62.1
119+
google.golang.org/grpc v1.63.0
120120
google.golang.org/protobuf v1.33.0
121121
)
122122

@@ -305,7 +305,7 @@ require (
305305
golang.org/x/tools v0.17.0 // indirect
306306
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
307307
google.golang.org/appengine v1.6.8 // indirect
308-
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect
308+
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
309309
google.golang.org/genproto/googleapis/api v0.0.0-20240314234333-6e1732d8331c // indirect
310310
gopkg.in/alexcesaro/statsd.v2 v2.0.0 // indirect
311311
gopkg.in/ini.v1 v1.67.0 // indirect

go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -1570,8 +1570,8 @@ google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2
15701570
google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI=
15711571
google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E=
15721572
google.golang.org/genproto v0.0.0-20220401170504-314d38edb7de/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
1573-
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 h1:9+tzLLstTlPTRyJTh+ah5wIMsBW5c4tQwGTN3thOW9Y=
1574-
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9/go.mod h1:mqHbVIp48Muh7Ywss/AD6I5kNVKZMmAa/QEW58Gxp2s=
1573+
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY=
1574+
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
15751575
google.golang.org/genproto/googleapis/api v0.0.0-20240314234333-6e1732d8331c h1:kaI7oewGK5YnVwj+Y+EJBO/YN1ht8iTL9XkFHtVZLsc=
15761576
google.golang.org/genproto/googleapis/api v0.0.0-20240314234333-6e1732d8331c/go.mod h1:VQW3tUculP/D4B+xVCo+VgSq8As6wA9ZjHl//pmk+6s=
15771577
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 h1:NnYq6UN9ReLM9/Y01KWNOWyI5xQ9kbIms5GGJVwS/Yc=
@@ -1605,8 +1605,8 @@ google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9K
16051605
google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34=
16061606
google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU=
16071607
google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ=
1608-
google.golang.org/grpc v1.62.1 h1:B4n+nfKzOICUXMgyrNd19h/I9oH0L1pizfk1d4zSgTk=
1609-
google.golang.org/grpc v1.62.1/go.mod h1:IWTG0VlJLCh1SkC58F7np9ka9mx/WNkjl4PGJaiq+QE=
1608+
google.golang.org/grpc v1.63.0 h1:WjKe+dnvABXyPJMD7KDNLxtoGk5tgk+YFWN6cBWjZE8=
1609+
google.golang.org/grpc v1.63.0/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
16101610
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
16111611
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
16121612
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=

warehouse/api/grpc_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ func TestGRPC(t *testing.T) {
177177
return server.Serve(listener)
178178
})
179179

180-
grpcClientConn, err := grpc.Dial("localhost:"+strconv.Itoa(tcpPort), grpc.WithTransportCredentials(insecure.NewCredentials()))
180+
grpcClientConn, err := grpc.NewClient("localhost:"+strconv.Itoa(tcpPort), grpc.WithTransportCredentials(insecure.NewCredentials()))
181181
require.NoError(t, err)
182182
t.Cleanup(func() {
183183
require.NoError(t, grpcClientConn.Close())

warehouse/app_test.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ func TestApp(t *testing.T) {
216216
_ = session.Close()
217217
})
218218

219-
grpcConn, err := grpc.Dial("", grpc.WithTransportCredentials(insecure.NewCredentials()),
219+
grpcConn, err := grpc.NewClient(
220+
fmt.Sprintf("localhost:%d", tcpPort),
221+
grpc.WithTransportCredentials(insecure.NewCredentials()),
220222
grpc.WithContextDialer(func(context context.Context, target string) (net.Conn, error) {
221223
return session.Open()
222224
}),
@@ -230,6 +232,7 @@ func TestApp(t *testing.T) {
230232

231233
require.Eventually(t, func() bool {
232234
if healthResponse, err := grpcClient.GetHealth(ctx, &emptypb.Empty{}); err != nil {
235+
t.Log(err)
233236
return false
234237
} else if healthResponse == nil {
235238
return false

0 commit comments

Comments
 (0)