update model

This commit is contained in:
medcl 2021-09-25 15:27:24 +08:00
parent b2e1120709
commit c4ad48137d
1 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ import (
"fmt"
httprouter "infini.sh/framework/core/api/router"
"infini.sh/framework/core/elastic"
"infini.sh/framework/core/elastic/model"
"infini.sh/framework/core/orm"
"infini.sh/framework/core/util"
"infini.sh/search-center/model/alerting"
@ -318,7 +319,7 @@ func DeleteDestination(w http.ResponseWriter, req *http.Request, ps httprouter.P
}
func getDefaultConfig() *elastic.ElasticsearchConfig{
func getDefaultConfig() *model.ElasticsearchConfig{
return elastic.GetConfig("default")
}