Commit 26d33762 authored by qiuqunfeng's avatar qiuqunfeng
Browse files

Fix error message for missing Elasticsearch URL configuration

parent 5f22de38
......@@ -59,7 +59,7 @@ func CreateEsClientFromConfig(config *config.ElasticsearchConfig) (*es.Client, e
var opts []es.ClientOptionFunc
if config.Url == "" {
return nil, fmt.Errorf("ES_URL is not set")
return nil, fmt.Errorf("es url is not set")
}
opts = append(opts, es.SetURL(config.Url))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment