From c8cc8194fb0fd2b9b997b8e63bf6f09e8a3eee40 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Steenis <mail@superseb.nl> Date: Tue, 29 Dec 2020 18:47:09 +0100 Subject: [PATCH] controlplane typo --- services/kubeapi.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/kubeapi.go b/services/kubeapi.go index 2cdbb7c5..4283c248 100644 --- a/services/kubeapi.go +++ b/services/kubeapi.go @@ -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 }