mirror of
https://github.com/datarhei/core.git
synced 2025-10-05 07:57:13 +08:00
Fix gathering of hostnames, add /v3/cluster/db/kv endpoint
This commit is contained in:
@@ -233,7 +233,7 @@ func (n *node) connect(ctx context.Context) error {
|
||||
}
|
||||
|
||||
peer, err := client.New(client.Config{
|
||||
Address: n.address,
|
||||
Address: u.String(),
|
||||
Client: &http.Client{
|
||||
Timeout: 5 * time.Second,
|
||||
},
|
||||
|
Reference in New Issue
Block a user