зеркало из https://github.com/github/vulcanizer.git
Setting default behavior to show only active recoveries.
This commit is contained in:
Родитель
9d1f588c8b
Коммит
beb8041c6b
|
@ -13,7 +13,7 @@ var activeOnly bool
|
|||
func init() {
|
||||
cmdShards.Flags().StringSliceVarP(&nodesToCheck, "nodes", "n", []string{}, "Elasticsearch node(s) to get shard information from")
|
||||
cmdShardsRecovery.Flags().StringSliceVarP(&nodesToCheck, "nodes", "n", []string{}, "Elasticsearch node(s) to get shard information from")
|
||||
cmdShardsRecovery.Flags().BoolVar(&activeOnly, "active", false, "Only display active recoveries")
|
||||
cmdShardsRecovery.Flags().BoolVar(&activeOnly, "active", true, "Only display active recoveries")
|
||||
|
||||
cmdShards.AddCommand(cmdShardsRecovery)
|
||||
rootCmd.AddCommand(cmdShards)
|
||||
|
|
Загрузка…
Ссылка в новой задаче