diff --git a/cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go b/cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go index 6fd0424573b..ec6a4c04420 100644 --- a/cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go +++ b/cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go @@ -133,8 +133,7 @@ func printFilesIfDryRunning(data InitData) error { return dryrunutil.PrintDryRunFiles(files, data.OutputWriter()) } -// NewControlPlaneWaiter returns a new waiter that is used to wait on the control plane to boot up. -// TODO: make private (lowercase) after self-hosting phase is removed. +// newControlPlaneWaiter returns a new waiter that is used to wait on the control plane to boot up. func newControlPlaneWaiter(dryRun bool, timeout time.Duration, client clientset.Interface, out io.Writer) (apiclient.Waiter, error) { if dryRun { return dryrunutil.NewWaiter(), nil