mirror of
https://github.com/rancher/rke.git
synced 2025-04-27 19:25:44 +00:00
controlplane typo
This commit is contained in:
parent
b620eed70b
commit
c8cc8194fb
@ -31,7 +31,7 @@ func RestartKubeAPI(ctx context.Context, host *hosts.Host) error {
|
||||
}
|
||||
|
||||
func RestartKubeAPIWithHealthcheck(ctx context.Context, hostList []*hosts.Host, df hosts.DialerFactory, certMap map[string]pki.CertificatePKI) error {
|
||||
log.Infof(ctx, "[%s] Restarting %s on contorl plane nodes..", ControlRole, KubeAPIContainerName)
|
||||
log.Infof(ctx, "[%s] Restarting %s on %s nodes..", ControlRole, KubeAPIContainerName, ControlRole)
|
||||
for _, runHost := range hostList {
|
||||
logrus.Debugf("[%s] Restarting %s on node [%s]", ControlRole, KubeAPIContainerName, runHost.Address)
|
||||
if err := RestartKubeAPI(ctx, runHost); err != nil {
|
||||
@ -44,6 +44,6 @@ func RestartKubeAPIWithHealthcheck(ctx context.Context, hostList []*hosts.Host,
|
||||
return err
|
||||
}
|
||||
}
|
||||
log.Infof(ctx, "[%s] Restarted %s on contorl plane nodes successfully", ControlRole, KubeAPIContainerName)
|
||||
log.Infof(ctx, "[%s] Restarted %s on %s nodes successfully", ControlRole, KubeAPIContainerName, ControlRole)
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user