Fix gathering of hostnames, add /v3/cluster/db/kv endpoint

This commit is contained in:
Ingo Oppermann
2023-06-27 14:52:32 +02:00
parent 4560b1a6ca
commit dd128ac99b
15 changed files with 234 additions and 52 deletions

View File

@@ -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,
},