Remove todo and change comment

This commit is contained in:
stgleb 2019-04-30 13:34:25 +03:00
parent 69718b975d
commit 758d89c256

View File

@ -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