1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-17 15:40:07 +00:00

Fix etcd client endpoint address

This commit is contained in:
moelsayed
2018-04-20 22:17:45 +02:00
committed by Darren Shepherd
parent fb1fd833ce
commit 0069872976
3 changed files with 2 additions and 7 deletions

View File

@@ -16,10 +16,6 @@ import (
"github.com/sirupsen/logrus"
)
const (
EtcdHealthCheckURL = "https://127.0.0.1:2379/health"
)
func RunEtcdPlane(ctx context.Context, etcdHosts []*hosts.Host, etcdNodePlanMap map[string]v3.RKEConfigNodePlan, localConnDialerFactory hosts.DialerFactory, prsMap map[string]v3.PrivateRegistry, updateWorkersOnly bool, alpineImage string) error {
log.Infof(ctx, "[%s] Building up etcd plane..", ETCDRole)
for _, host := range etcdHosts {