diff --git a/internal/app/wwctl/node/delete/root.go b/internal/app/wwctl/node/delete/root.go index 5e8bfd7d..3a30dce0 100644 --- a/internal/app/wwctl/node/delete/root.go +++ b/internal/app/wwctl/node/delete/root.go @@ -11,7 +11,7 @@ var ( RunE: CobraRunE, Aliases: []string{"rm", "del"}, } - SetYes bool + SetYes bool SetForce string SetGroup string SetController string diff --git a/internal/app/wwctl/profile/delete/root.go b/internal/app/wwctl/profile/delete/root.go index ad16efe4..44f3afe0 100644 --- a/internal/app/wwctl/profile/delete/root.go +++ b/internal/app/wwctl/profile/delete/root.go @@ -10,11 +10,11 @@ var ( RunE: CobraRunE, Args: cobra.MinimumNArgs(1), } - SetYes bool + SetYes bool ) func init() { -baseCmd.PersistentFlags().BoolVarP(&SetYes, "yes", "y", false, "Set 'yes' to all questions asked") + baseCmd.PersistentFlags().BoolVarP(&SetYes, "yes", "y", false, "Set 'yes' to all questions asked") } // GetRootCommand returns the root cobra.Command for the application.