bump containerd/ttrpc 699c4e40d1e7416e08bf7019c7ce2e9beced4636

full diff: f02858b145...699c4e40d1

- containerd/ttrpc#33 Fix returns error message
- containerd/ttrpc#35 Make onclose an option

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2019-04-27 15:30:18 -07:00
parent 3a3f0aac88
commit 8c5779c32b
6 changed files with 19 additions and 15 deletions

View File

@@ -219,8 +219,7 @@ func WithConnect(address string, onClose func()) Opt {
if err != nil {
return nil, nil, err
}
client := ttrpc.NewClient(conn)
client.OnClose(onClose)
client := ttrpc.NewClient(conn, ttrpc.WithOnClose(onClose))
return shimapi.NewShimClient(client), conn, nil
}
}