mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 01:53:42 +08:00 
			
		
		
		
	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>
		
			
				
	
	
		
			19 lines
		
	
	
		
			338 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			338 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package main
 | 
						|
 | 
						|
import (
 | 
						|
	"github.com/moby/buildkit/util/tracing/detect"
 | 
						|
	"go.opentelemetry.io/otel"
 | 
						|
 | 
						|
	_ "github.com/moby/buildkit/util/tracing/env"
 | 
						|
)
 | 
						|
 | 
						|
func init() {
 | 
						|
	detect.ServiceName = "buildx"
 | 
						|
	// do not log tracing errors to stdio
 | 
						|
	otel.SetErrorHandler(skipErrors{})
 | 
						|
}
 | 
						|
 | 
						|
type skipErrors struct{}
 | 
						|
 | 
						|
func (skipErrors) Handle(err error) {}
 |