Skip to content

Commit

Permalink
[Heartbeat] Whitelist --index-management flag for heartbeat
Browse files Browse the repository at this point in the history
We received a bug report on [discuss](https://discuss.elastic.co/t/heartbeat-7-2-0-error-unknown-flag-index-management/191670) about this key being missing. It should have been added with elastic#11856 but was missed.
  • Loading branch information
andrewvc committed Jul 22, 2019
1 parent 862ba2b commit 22c991a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions heartbeat/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func init() {
* ILM Policy
`
setup.ResetFlags()
setup.Flags().Bool(cmd.IndexManagementKey, false, "Setup all components related to Elasticsearch index management, including template, ilm policy and rollover alias")
setup.Flags().Bool(cmd.TemplateKey, false, "Setup index template")
setup.Flags().Bool(cmd.ILMPolicyKey, false, "Setup ILM policy")
}

0 comments on commit 22c991a

Please sign in to comment.