Skip to content

Commit

Permalink
minor local-check-execution script fix for --stage prod
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichaels-harvard committed Aug 27, 2024
1 parent be5182c commit f1b2b2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion foursight_core/scripts/local_check_execution.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
print("This may take a minute ...")
# A local-check-runner command-line utility to run checks from local development machine.
# The real entry points are poetry scripts in foursight-cgap and foursight, so the
# app_utils from those local repos can be passed in properly.
Expand Down Expand Up @@ -29,7 +30,7 @@ def local_check_execution(app_utils):

if not args.list:
if args.env and isinstance(app_utils_environments := app_utils.init_environments(args.env), dict):
es_url = app_utils_environments.get(args.env, {}).get("es") or es_url
es_url = app_utils_environments.get(args.env, {}).get("es")
else:
es_url = None
sanity_check_elasticsearch_accessibility(app_utils.host, es_url)
Expand Down

0 comments on commit f1b2b2a

Please sign in to comment.