1
0
mirror of https://github.com/rancher/rke.git synced 2025-05-11 18:04:35 +00:00

Fix broken thread for controlplane processes

This commit is contained in:
galal-hussein 2018-07-25 13:50:59 +02:00 committed by Alena Prokharchyk
parent c161a56740
commit bfb5d2e875

View File

@ -19,7 +19,7 @@ func RunControlPlane(ctx context.Context, controlHosts []*hosts.Host, localConnD
continue
}
errgrp.Go(func() error {
return doDeployControlHost(ctx, runHost, localConnDialerFactory, prsMap, cpNodePlanMap[host.Address].Processes, alpineImage, certMap)
return doDeployControlHost(ctx, runHost, localConnDialerFactory, prsMap, cpNodePlanMap[runHost.Address].Processes, alpineImage, certMap)
})
}
if err := errgrp.Wait(); err != nil {