etcd: fix embbeded etcd connection cfg
This commit is contained in:
1 file changed
+1
-1
@@ -98,7 +98,7 @@ func NewEmbeddedEtcdInstance(path string, clientPort, peerPort uint16) (
|
|||||||
}
|
}
|
||||||
|
|
||||||
connConfig := &Config{
|
connConfig := &Config{
|
||||||
Host: "http://" + peerURL,
|
Host: "http://" + clientURL,
|
||||||
User: "user",
|
User: "user",
|
||||||
Pass: "pass",
|
Pass: "pass",
|
||||||
InsecureSkipVerify: true,
|
InsecureSkipVerify: true,
|
||||||
|
|||||||
Reference in new issue
Block a user