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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user