Fix name for builder in farm connection
Ensure that the map of builders we create links the builder name and not the farm name to the image engine of that node. This was a regression introduced during the farm conf rework. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
This commit is contained in:
		
							parent
							
								
									89432899a7
								
							
						
					
					
						commit
						02c094425f
					
				|  | @ -61,7 +61,7 @@ func newFarmWithBuilders(_ context.Context, name string, cons []config.Connectio | |||
| 			defer fmt.Printf("Builder %q ready\n", con.Name) | ||||
| 			builderMutex.Lock() | ||||
| 			defer builderMutex.Unlock() | ||||
| 			farm.builders[name] = engine | ||||
| 			farm.builders[con.Name] = engine | ||||
| 			return nil | ||||
| 		}) | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue