update breaks
This commit is contained in:
		
							
								
								
									
										2
									
								
								http.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								http.go
									
									
									
									
									
								
							| @@ -87,7 +87,7 @@ func (h *httpClient) call(ctx context.Context, address string, req client.Reques | ||||
| 		URL: &url.URL{ | ||||
| 			Scheme: "http", | ||||
| 			Host:   address, | ||||
| 			Path:   req.Method(), | ||||
| 			Path:   req.Endpoint(), | ||||
| 		}, | ||||
| 		Header:        header, | ||||
| 		Body:          buf, | ||||
|   | ||||
| @@ -40,7 +40,7 @@ func (h *httpRequest) Service() string { | ||||
| 	return h.service | ||||
| } | ||||
|  | ||||
| func (h *httpRequest) Method() string { | ||||
| func (h *httpRequest) Endpoint() string { | ||||
| 	return h.method | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user