rpc: fix setting client in DialHTTPWithClient (#26470)
This commit is contained in:
		
							parent
							
								
									c125e6e00c
								
							
						
					
					
						commit
						6f858fa806
					
				| @ -137,6 +137,7 @@ func DialHTTPWithClient(endpoint string, client *http.Client) (*Client, error) { | ||||
| 	} | ||||
| 
 | ||||
| 	var cfg clientConfig | ||||
| 	cfg.httpClient = client | ||||
| 	fn := newClientTransportHTTP(endpoint, &cfg) | ||||
| 	return newClient(context.Background(), fn) | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user