mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 09:44:17 +02:00
add "cluster compare" command and add 1st check (unsync indices) (#2)
This commit is contained in:
@@ -76,11 +76,12 @@ func Main() int {
|
||||
Search(conf),
|
||||
Index(conf),
|
||||
Snapshot(conf),
|
||||
Cluster(conf),
|
||||
},
|
||||
|
||||
Before: func(ctx context.Context, cmd *cli.Command) (context.Context, error) {
|
||||
if err := conf.Init(); err != nil {
|
||||
Finish(err)
|
||||
return nil, err
|
||||
}
|
||||
|
||||
log.Init(conf)
|
||||
|
||||
Reference in New Issue
Block a user