This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new c8d4b15 fix variable name
c8d4b15 is described below
commit c8d4b15bfd8734316b704cca9124ac919b938c14
Author: Daniel Gruno <[email protected]>
AuthorDate: Sun Mar 28 20:37:54 2021 +0200
fix variable name
---
server/plugins/database.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/plugins/database.py b/server/plugins/database.py
index 87149ce..ae79252 100644
--- a/server/plugins/database.py
+++ b/server/plugins/database.py
@@ -50,7 +50,7 @@ class Database:
self.uuid = str(uuid.uuid4())
self.dbs = DBNames(config.db_prefix)
if self.config.dburl:
- self.client = elasticsearch.AsyncElasticsearch([dburl,])
+ self.client =
elasticsearch.AsyncElasticsearch([self.config.dburl,])
else:
self.client = elasticsearch.AsyncElasticsearch(
[