Skip to content

Commit

Permalink
switch to tapis token
Browse files Browse the repository at this point in the history
  • Loading branch information
chandra-tacc committed Feb 6, 2024
1 parent d7e7e4b commit 5e42e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,11 @@ def api_monitoring():
global api_data_cache

try:

tapis_token = get_tapis_token(request)
if not api_data_index['monitoring'] or not check_data_current(request, datetime.strptime(api_data_index['monitoring'], datetime_format)):
# api_date = datetime.now().strftime(datetime_format)
if data_access_type != 'LOCAL':
latest_monitoring_json_tuple = get_api_monitoring_data(request)
latest_monitoring_json_tuple = get_api_monitoring_data(tapis_token)
else:
latest_monitoring_json_tuple = get_local_monitoring_data(monitoring_data_filepath)

Expand Down

0 comments on commit 5e42e15

Please sign in to comment.