mirror of https://github.com/docker/buildx.git
				
				
				
			debug: secondary client build should not reuse solve opt ref
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
		
							parent
							
								
									c9c1303e31
								
							
						
					
					
						commit
						e5a0ed1149
					
				|  | @ -72,6 +72,8 @@ func getResultAt(ctx context.Context, c *client.Client, solveOpt client.SolveOpt | |||
| 	resultCtxCh := make(chan *ResultContext) | ||||
| 	errCh := make(chan error) | ||||
| 	go func() { | ||||
| 		solveOpt := solveOpt | ||||
| 		solveOpt.Ref = "" | ||||
| 		_, err := c.Build(context.Background(), solveOpt, "buildx", func(ctx context.Context, c gateway.Client) (*gateway.Result, error) { | ||||
| 			ctx, cancel := context.WithCancel(ctx) | ||||
| 			defer cancel() | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue