mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit to master@8b7bcb900d3c
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
7
vendor/github.com/moby/buildkit/frontend/gateway/grpcclient/client.go
generated
vendored
7
vendor/github.com/moby/buildkit/frontend/gateway/grpcclient/client.go
generated
vendored
@ -190,7 +190,7 @@ func (c *grpcClient) Run(ctx context.Context, f client.BuildFunc) (retError erro
|
||||
}
|
||||
}
|
||||
if retError != nil {
|
||||
st, _ := status.FromError(grpcerrors.ToGRPC(retError))
|
||||
st, _ := status.FromError(grpcerrors.ToGRPC(ctx, retError))
|
||||
stp := st.Proto()
|
||||
req.Error = &rpc.Status{
|
||||
Code: stp.Code,
|
||||
@ -792,6 +792,7 @@ func (c *grpcClient) NewContainer(ctx context.Context, req client.NewContainerRe
|
||||
Constraints: req.Constraints,
|
||||
Network: req.NetMode,
|
||||
ExtraHosts: req.ExtraHosts,
|
||||
Hostname: req.Hostname,
|
||||
})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@ -927,11 +928,11 @@ func (ctr *container) Start(ctx context.Context, req client.StartRequest) (clien
|
||||
|
||||
if msg == nil {
|
||||
// empty message from ctx cancel, so just start shutting down
|
||||
// input, but continue processing more exit/done messages
|
||||
// input
|
||||
closeDoneOnce.Do(func() {
|
||||
close(done)
|
||||
})
|
||||
continue
|
||||
return ctx.Err()
|
||||
}
|
||||
|
||||
if file := msg.GetFile(); file != nil {
|
||||
|
Reference in New Issue
Block a user