From 17a1131b90e91cd9d17cdca9b480873731c44bb2 Mon Sep 17 00:00:00 2001 From: Karanjot Singh Date: Fri, 3 Feb 2023 00:43:51 +0530 Subject: [PATCH] Changed bool to False Signed-off-by: Karanjot Singh --- references/cli/adopt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/references/cli/adopt.go b/references/cli/adopt.go index 8eb43bee2..0b34595c9 100644 --- a/references/cli/adopt.go +++ b/references/cli/adopt.go @@ -197,7 +197,7 @@ func (opt *AdoptOptions) Complete(f velacmd.Factory, cmd *cobra.Command, args [] if err == nil && app != nil { if !opt.Yes { userInput := NewUserInput() - confirm := userInput.AskBool("Application '%s' already exists, apply will override the existing app with the adopted one, please confirm [Y/n]: "+opt.AppName, &UserInputOptions{AssumeYes: true}) + confirm := userInput.AskBool("Application '%s' already exists, apply will override the existing app with the adopted one, please confirm [Y/n]: "+opt.AppName, &UserInputOptions{AssumeYes: false}) if !confirm { return nil }