fail on file not found for shim reconnect on containerd restart

Signed-off-by: Kathryn Baldauf <kabaldau@microsoft.com>
This commit is contained in:
Kathryn Baldauf
2019-09-13 17:25:48 -07:00
parent 87bff67128
commit b4211d94e2
6 changed files with 28 additions and 7 deletions

View File

@@ -74,7 +74,7 @@ func (b *binary) Start(ctx context.Context, opts *types.Any, onClose func()) (_
if err != nil {
return nil, err
}
f, err := openShimLog(ctx, b.bundle)
f, err := openShimLog(ctx, b.bundle, client.AnonDialer)
if err != nil {
return nil, errors.Wrap(err, "open shim log pipe")
}