vendor: update buildkit to master@31c870e82a48

Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
Justin Chadwell
2023-05-15 18:32:31 +01:00
parent 167cd16acb
commit e61a8cf637
269 changed files with 25798 additions and 3371 deletions

View File

@ -129,7 +129,7 @@ func monitorHealth(ctx context.Context, cc *grpc.ClientConn, cancelConn func())
}
}
bklog.G(ctx).WithFields(logFields).Debug("healthcheck completed")
bklog.G(ctx).WithFields(logFields).Trace("healthcheck completed")
}
}
}

View File

@ -24,10 +24,12 @@ func Copy(ctx context.Context, conn io.ReadWriteCloser, stream Stream, closeStre
if err == io.EOF {
// indicates client performed CloseSend, but they may still be
// reading data
if conn, ok := conn.(interface {
if closeWriter, ok := conn.(interface {
CloseWrite() error
}); ok {
conn.CloseWrite()
closeWriter.CloseWrite()
} else {
conn.Close()
}
return nil
}