Skip to content

Commit

Permalink
rename command generator function
Browse files Browse the repository at this point in the history
  • Loading branch information
kvch committed May 23, 2019
1 parent 066b5d3 commit 7086fab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x-pack/functionbeat/cmd/provider_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func genPackageCmd() *cobra.Command {
return cmd
}

func genExportTemplateCmd() *cobra.Command {
func genExportFunctionCmd() *cobra.Command {
return &cobra.Command{
Use: "function",
Short: "Export function template",
Expand Down
2 changes: 1 addition & 1 deletion x-pack/functionbeat/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ func init() {

func addBeatSpecificSubcommands() {
RootCmd.ExportCmd.Short = "Export current config, index template or function"
RootCmd.ExportCmd.AddCommand(genExportTemplateCmd())
RootCmd.ExportCmd.AddCommand(genExportFunctionCmd())
}

0 comments on commit 7086fab

Please sign in to comment.