mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 01:53:42 +08:00 
			
		
		
		
	vendor: update buildx to latest docker/cli
This version of docker/cli has changes to remove compose-cli wrapper and move all CLI metrics to OTEL. Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
This commit is contained in:
		@@ -269,8 +269,7 @@ func (o *buildOptionsHash) String() string {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func runBuild(ctx context.Context, dockerCli command.Cli, options buildOptions) (err error) {
 | 
			
		||||
	mp := dockerCli.MeterProvider(ctx)
 | 
			
		||||
	defer metricutil.Shutdown(ctx, mp)
 | 
			
		||||
	mp := dockerCli.MeterProvider()
 | 
			
		||||
 | 
			
		||||
	ctx, end, err := tracing.TraceCurrentCommand(ctx, "build")
 | 
			
		||||
	if err != nil {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user