Changed bool to False

Signed-off-by: Karanjot Singh <drquark@duck.com>
This commit is contained in:
Karanjot Singh
2023-02-03 00:43:51 +05:30
parent 96a2ae8fb7
commit 17a1131b90
+1 -1
View File
@@ -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
}