Merge pull request 'fixed error output of parsing migration config' (#25) from mi_bug into master

This commit is contained in:
silenceqi 2023-02-08 11:38:39 +08:00
commit c62e0e9920
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ func (module *Module) Name() string {
func (module *Module) Setup() {
module.BulkResultIndexName = ".infini_async_bulk_results"
_, err := env.ParseConfig("migration", module)
if err != nil {
exists, err := env.ParseConfig("migration", module)
if exists && err != nil {
log.Error(err)
}
InitAPI(module.BulkResultIndexName)