Skip to content

Commit 0b7abc0

Browse files
committed
ttrpc updates for interceptors, close, and metadata
Signed-off-by: Michael Crosby <[email protected]>
1 parent 40b17e9 commit 0b7abc0

10 files changed

Lines changed: 267 additions & 115 deletions

File tree

namespaces/ttrpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const (
3030
func withTTRPCNamespaceHeader(ctx context.Context, namespace string) context.Context {
3131
md, ok := ttrpc.GetMetadata(ctx)
3232
if !ok {
33-
md = ttrpc.Metadata{}
33+
md = ttrpc.MD{}
3434
}
3535
md.Set(TTRPCHeader, namespace)
3636
return ttrpc.WithMetadata(ctx, md)

vendor.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ github.com/Microsoft/go-winio 84b4ab48a50763fe7b3abcef38e5205c12027fac
3737
github.com/Microsoft/hcsshim 8abdbb8205e4192c68b5f84c31197156f31be517
3838
google.golang.org/genproto d80a6e20e776b0b17a324d0ba1ab50a39c8e8944
3939
golang.org/x/text 19e51611da83d6be54ddafce4a4af510cb3e9ea4
40-
github.com/containerd/ttrpc a5bd8ce9e40bc7c065a11c6936f4d032ce6bfa2b
40+
github.com/containerd/ttrpc 1fb3814edf44a76e0ccf503decf726d994919a9a
4141
github.com/syndtr/gocapability d98352740cb2c55f81556b63d4a1ec64c5a319c2
4242
gotest.tools v2.3.0
4343
github.com/google/go-cmp v0.2.0

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

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 127 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)