mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Remove duplicate calls for getting an APIClient
Remove request.SockRequest Remove request.SockRequestHijack Remove request.SockRequestRaw() Remove deprecated ParseHost Deprecate and unexport more helpers Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
		
							parent
							
								
									a68ae4a2d9
								
							
						
					
					
						commit
						0a91ba2d8c
					
				
					 17 changed files with 158 additions and 311 deletions
				
			
		| 
						 | 
				
			
			@ -123,10 +123,7 @@ func (cli *Client) sendRequest(ctx context.Context, method, path string, query u
 | 
			
		|||
	if err != nil {
 | 
			
		||||
		return resp, err
 | 
			
		||||
	}
 | 
			
		||||
	if err := cli.checkResponseErr(resp); err != nil {
 | 
			
		||||
		return resp, err
 | 
			
		||||
	}
 | 
			
		||||
	return resp, nil
 | 
			
		||||
	return resp, cli.checkResponseErr(resp)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (cli *Client) doRequest(ctx context.Context, req *http.Request) (serverResponse, error) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue