mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 15:06:23 +00:00
Fix etcd client endpoint address
This commit is contained in:
committed by
Darren Shepherd
parent
fb1fd833ce
commit
0069872976
@@ -32,7 +32,7 @@ func getEtcdClient(ctx context.Context, etcdHost *hosts.Host, localConnDialerFac
|
||||
}
|
||||
|
||||
cfg := etcdclient.Config{
|
||||
Endpoints: []string{"https://127.0.0.1:2379"},
|
||||
Endpoints: []string{"https://" + etcdHost.InternalAddress + ":2379"},
|
||||
Transport: DefaultEtcdTransport,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user