etcd: fix embbeded etcd connection cfg
This commit is contained in:
parent
9992e5c0b5
commit
5441c1bb6d
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user