mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-01 00:23:56 +08:00 
			
		
		
		
	Merge pull request #2421 from tonistiigi/print-default-load
build: avoid default load with --print
This commit is contained in:
		| @@ -162,7 +162,7 @@ func toSolveOpt(ctx context.Context, node builder.Node, multiDriver bool, opt Op | |||||||
| 	case 1: | 	case 1: | ||||||
| 		// valid | 		// valid | ||||||
| 	case 0: | 	case 0: | ||||||
| 		if !noDefaultLoad() { | 		if !noDefaultLoad() && opt.PrintFunc == nil { | ||||||
| 			if nodeDriver.IsMobyDriver() { | 			if nodeDriver.IsMobyDriver() { | ||||||
| 				// backwards compat for docker driver only: | 				// backwards compat for docker driver only: | ||||||
| 				// this ensures the build results in a docker image. | 				// this ensures the build results in a docker image. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Tõnis Tiigi
					Tõnis Tiigi