From 8047f4f13e29f862acb538e67b2b4bcbbcb83cc4 Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Thu, 13 Mar 2025 21:05:02 -0400 Subject: [PATCH] fix Find client url --- chord/httpnode/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chord/httpnode/client.go b/chord/httpnode/client.go index 4754e3a..4aaf542 100644 --- a/chord/httpnode/client.go +++ b/chord/httpnode/client.go @@ -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)