Skip to content

Commit

Permalink
Fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Pérez-Aradros Herce committed Aug 22, 2018
1 parent df24592 commit 75893ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/libbeat/cmd/enroll.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func getBeat(name, version string) (*instance.Beat, error) {
}

func genEnrollCmd(name, version string) *cobra.Command {
keystoreCmd := cobra.Command{
enrollCmd := cobra.Command{
Use: "enroll <kibana_url> <enrollment_token>",
Short: "Enroll in Kibana for Central Management",
Args: cobra.ExactArgs(2),
Expand All @@ -51,5 +51,5 @@ func genEnrollCmd(name, version string) *cobra.Command {
}),
}

return &keystoreCmd
return &enrollCmd
}

0 comments on commit 75893ce

Please sign in to comment.