Merge pull request #77257 from stgleb/remove_todo

Remove todo and change comment
This commit is contained in:
Kubernetes Prow Robot 2019-04-30 05:47:37 -07:00 committed by GitHub
commit a6558c6f10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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