fix Find client url
This commit is contained in:
		@@ -27,7 +27,7 @@ func (cl *Client) Find(ctx context.Context, s chord.Peer, id chord.ID) (chord.Pe
 | 
			
		||||
	url := url.URL{
 | 
			
		||||
		Scheme:   "http",
 | 
			
		||||
		Host:     addr.String(),
 | 
			
		||||
		Path:     path.Join("/", cl.APIBase, "succ"),
 | 
			
		||||
		Path:     path.Join("/", cl.APIBase, "key"),
 | 
			
		||||
		RawQuery: url.Values{"s": {id.String()}}.Encode(),
 | 
			
		||||
	}
 | 
			
		||||
	req, err := http.NewRequestWithContext(ctx, "GET", url.String(), nil)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user