diff --git a/cmd/state-installer/installer.go b/cmd/state-installer/installer.go index 65ce101cb5..b5fef2a594 100644 --- a/cmd/state-installer/installer.go +++ b/cmd/state-installer/installer.go @@ -55,7 +55,7 @@ func (i *Installer) Install() (rerr error) { } if isAdmin && !i.Params.force && !i.Params.isUpdate && !i.Params.nonInteractive { prompter := prompt.New(true, i.an) - confirm, err := prompter.Confirm("", locale.T("installer_prompt_is_admin"), ptr.To(false)) + confirm, err := prompter.Confirm("", locale.T("installer_prompt_is_admin"), ptr.To(false), nil) if err != nil { return errs.Wrap(err, "Unable to confirm") } diff --git a/cmd/state-remote-installer/main.go b/cmd/state-remote-installer/main.go index c5c08b4fb5..2ca3c36f75 100644 --- a/cmd/state-remote-installer/main.go +++ b/cmd/state-remote-installer/main.go @@ -174,7 +174,7 @@ func main() { func execute(out output.Outputer, prompt prompt.Prompter, cfg *config.Instance, an analytics.Dispatcher, args []string, params *Params) error { msg := locale.Tr("tos_disclaimer", constants.TermsOfServiceURLLatest) msg += locale.Tr("tos_disclaimer_prompt", constants.TermsOfServiceURLLatest) - cont, err := prompt.Confirm(locale.Tr("install_remote_title"), msg, ptr.To(true)) + cont, err := prompt.Confirm(locale.Tr("install_remote_title"), msg, ptr.To(true), nil) if err != nil { return errs.Wrap(err, "Could not prompt for confirmation") }