mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 06:34:18 +02:00
add --hidden flag (default off) to 'index ls' and 'ilm forecast ls' (#55)
This commit is contained in:
@@ -225,9 +225,7 @@ func getIlmPhaseData(conf *cfg.Config) ([]PhaseData, error) {
|
||||
}
|
||||
|
||||
for indexName, explain := range ilmdetails.Indices {
|
||||
if strings.HasPrefix(indexName, ".ds-") ||
|
||||
strings.HasPrefix(indexName, ".monitoring-") ||
|
||||
strings.HasPrefix(indexName, ".internal") {
|
||||
if !conf.Hidden && strings.HasPrefix(indexName, ".") {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user