Skip to content

Commit

Permalink
repair indexer main method (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
willronchetti authored May 4, 2021
1 parent 36ec15f commit 075828f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dcicsnovault"
version = "4.7.5"
version = "4.7.6"
description = "Storage support for 4DN Data Portals."
authors = ["4DN-DCIC Team <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion snovault/elasticsearch/es_index_listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def main():

# Loading app will have configured from config file. Reconfigure here:
# Use `es_server=app.registry.settings.get('elasticsearch.server')` when ES logging is working
set_logging(in_prod=app.registry.settings.get('production'), level=logging.INFO)
set_logging(in_prod=testapp.app.registry.settings.get('production'), level=logging.INFO)
return run(testapp, args.poll_interval, args.dry_run, args.path)


Expand Down

0 comments on commit 075828f

Please sign in to comment.