From ce67c6261ddf685d0be2c3108576ff784cc24fa4 Mon Sep 17 00:00:00 2001 From: Alec Date: Fri, 22 Nov 2024 18:18:18 -0600 Subject: [PATCH] change ES address to pull from config --- resources/progress_to_es.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/progress_to_es.py b/resources/progress_to_es.py index f0c1a45..30fd159 100644 --- a/resources/progress_to_es.py +++ b/resources/progress_to_es.py @@ -213,7 +213,7 @@ def main(): logging.basicConfig(level=getattr(logging, args.log_level.upper()), format='%(asctime)s %(levelname)s %(name)s : %(message)s') - es_api = ClientCredentialsAuth(address='https://elasticsearch.icecube.aq', + es_api = ClientCredentialsAuth(address=config['ES_ADDRESS'], token_url=args.token_url, client_secret=args.es_client_secret, client_id=args.es_client_id)