update es version require to 7.3+ in comment
This commit is contained in:
parent
fefcaf6b6d
commit
f403f8d8f9
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue