update es version require to 7.3+ in comment

This commit is contained in:
liugq 2022-04-08 12:11:30 +08:00
parent fefcaf6b6d
commit f403f8d8f9
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# for the system cluster, please use Elasticsearch v7.0+
# for the system cluster, please use Elasticsearch v7.3+
elasticsearch:
- name: default
enabled: true

View File

@ -82,7 +82,7 @@ func checkElasticsearchRequire() error{
return fmt.Errorf("check elasticsearch requirement error: %v", err)
}
if cr == -1 {
return fmt.Errorf("elasticsearch cluster version of store data required to be version 7.0 and above, but got %s", versionNumber)
return fmt.Errorf("elasticsearch cluster version of store data required to be version 7.3 and above, but got %s", versionNumber)
}
return nil
}

View File

@ -232,7 +232,7 @@ func (h *GatewayAPI) getInstanceStatus(w http.ResponseWriter, req *http.Request,
err = util.FromJSONBytes(res.Body, &resMap)
if err != nil {
result[gid.(string)] = util.MapStr{}
log.Error(err)
log.Errorf("get stats of %v error: %v", endpoint, err)
continue
}