mirror of
https://github.com/rancher/rke.git
synced 2025-08-15 05:24:32 +00:00
Fix broken thread for controlplane processes
This commit is contained in:
parent
c161a56740
commit
bfb5d2e875
@ -19,7 +19,7 @@ func RunControlPlane(ctx context.Context, controlHosts []*hosts.Host, localConnD
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
errgrp.Go(func() error {
|
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 {
|
if err := errgrp.Wait(); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user