mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Adds helpful statement to know which ES instance you are connecting to
This commit is contained in:
parent
ce477021c1
commit
83d0c3de38
@ -66,6 +66,7 @@ def _setup_test_nested(es):
|
||||
|
||||
if __name__ == '__main__':
|
||||
# Create connection to Elasticsearch - use defaults
|
||||
print('Connecting to ES', ELASTICSEARCH_HOST)
|
||||
es = Elasticsearch(ELASTICSEARCH_HOST)
|
||||
|
||||
_setup_data(es)
|
||||
|
Loading…
x
Reference in New Issue
Block a user