chore: check easysearch version with rollup (#129)
Co-authored-by: hardy <luohf@infinilabs.com>
This commit is contained in:
parent
6105976f9b
commit
1b6855673b
|
@ -718,7 +718,7 @@ func (module *Module) initializeTemplate(w http.ResponseWriter, r *http.Request,
|
|||
elastic2.InitTemplate(true)
|
||||
case "rollup":
|
||||
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
|
||||
dslTplFileName = "template_rollup.tpl"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue