Skip to content

Commit 4e64dcc

Browse files
authored
Merge pull request #2432 from crosbymichael/ttrpc2
Update ttrpc to 94dde388801693c54f88a6596f713b51a8
2 parents a044b04 + 6a83168 commit 4e64dcc

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

cmd/containerd-shim/main_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func serve(server *ttrpc.Server, path string) error {
172172
logrus.WithField("socket", path).Debug("serving api on unix socket")
173173
go func() {
174174
defer l.Close()
175-
if err := server.Serve(l); err != nil &&
175+
if err := server.Serve(context.Background(), l); err != nil &&
176176
!strings.Contains(err.Error(), "use of closed network connection") {
177177
logrus.WithError(err).Fatal("containerd-shim: ttrpc server failure")
178178
}

vendor.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ github.com/Microsoft/hcsshim v0.6.11
3737
github.com/boltdb/bolt e9cf4fae01b5a8ff89d0ec6b32f0d9c9f79aefdd
3838
google.golang.org/genproto d80a6e20e776b0b17a324d0ba1ab50a39c8e8944
3939
golang.org/x/text 19e51611da83d6be54ddafce4a4af510cb3e9ea4
40-
github.com/containerd/ttrpc fa6c68143601db58b3636ee9948aad2fe08ed1ea
40+
github.com/containerd/ttrpc 94dde388801693c54f88a6596f713b51a8b30b2d
4141
github.com/syndtr/gocapability db04d3cc01c8b54962a58ec7e491717d06cfcc16
4242
gotest.tools v2.1.0
4343
github.com/google/go-cmp v0.1.0

vendor/github.com/containerd/ttrpc/server.go

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)