Skip to content

Commit

Permalink
Merge pull request #361 from nirs/remove-execute
Browse files Browse the repository at this point in the history
core: remove unused Execute()
  • Loading branch information
subhamkrai authored Feb 27, 2025
2 parents a232120 + 7d9d7b5 commit 03bbd91
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmd/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ var RootCmd = &cobra.Command{
},
}

// Execute adds all child commands to the root command and sets flags appropriately.
// This is called by main.main(). It only needs to happen once to the rootCmd.
func Execute() {
cobra.CheckErr(RootCmd.Execute())
}

func init() {
// Define your flags and configuration settings.
RootCmd.PersistentFlags().StringVar(&kubeConfig, "kubeconfig", "", "kubernetes config path")
Expand Down

0 comments on commit 03bbd91

Please sign in to comment.