mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit to v0.14.0-rc1
Update buildkit dependency to v0.14.0-rc1. Update the tracing infrastructure to use the new detect API which updates how the delegated exporter is configured. Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
This commit is contained in:
6
vendor/github.com/moby/buildkit/util/progress/progressui/init.go
generated
vendored
6
vendor/github.com/moby/buildkit/util/progress/progressui/init.go
generated
vendored
@ -13,7 +13,10 @@ var colorCancel aec.ANSI
|
||||
var colorWarning aec.ANSI
|
||||
var colorError aec.ANSI
|
||||
|
||||
var termHeight = 6
|
||||
const termHeightMin = 6
|
||||
|
||||
var termHeightInitial = termHeightMin
|
||||
var termHeight = termHeightMin
|
||||
|
||||
func init() {
|
||||
// As recommended on https://no-color.org/
|
||||
@ -43,6 +46,7 @@ func init() {
|
||||
if termHeightStr != "" {
|
||||
termHeightVal, err := strconv.Atoi(termHeightStr)
|
||||
if err == nil && termHeightVal > 0 {
|
||||
termHeightInitial = termHeightVal
|
||||
termHeight = termHeightVal
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user