chore: check easysearch version with rollup (#129)

Co-authored-by: hardy <luohf@infinilabs.com>
This commit is contained in:
Hardy 2025-02-13 21:23:57 +08:00 committed by GitHub
parent 6105976f9b
commit 1b6855673b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -718,7 +718,7 @@ func (module *Module) initializeTemplate(w http.ResponseWriter, r *http.Request,
elastic2.InitTemplate(true) elastic2.InitTemplate(true)
case "rollup": case "rollup":
if ver.Distribution == elastic.Easysearch { if ver.Distribution == elastic.Easysearch {
if large, _ := util.VersionCompare(ver.Number, "1.10.0"); large > 0 { if large, _ := util.VersionCompare(ver.Number, "1.10.1"); large > 0 {
useCommon = false useCommon = false
dslTplFileName = "template_rollup.tpl" dslTplFileName = "template_rollup.tpl"
} }