update model
This commit is contained in:
parent
b2e1120709
commit
c4ad48137d
|
@ -5,6 +5,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
httprouter "infini.sh/framework/core/api/router"
|
httprouter "infini.sh/framework/core/api/router"
|
||||||
"infini.sh/framework/core/elastic"
|
"infini.sh/framework/core/elastic"
|
||||||
|
"infini.sh/framework/core/elastic/model"
|
||||||
"infini.sh/framework/core/orm"
|
"infini.sh/framework/core/orm"
|
||||||
"infini.sh/framework/core/util"
|
"infini.sh/framework/core/util"
|
||||||
"infini.sh/search-center/model/alerting"
|
"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")
|
return elastic.GetConfig("default")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue