Skip to content

Commit

Permalink
Use postgres_connection as key
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanzhou committed Jan 28, 2022
1 parent 8735b60 commit 446b972
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hubmap-auth/src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def get_status_data():
FILE_ASSETS_STATUS = 'file_assets_status'
BRANCH = 'branch'
COMMIT = 'commit'
POSTGRES_CONNECTION = 'Postgres connection'
POSTGRES_CONNECTION = 'postgres_connection'

# All API services have api_auth status (meaning the gateway's API auth is working)
# We won't get other status if api_auth fails
Expand Down
2 changes: 1 addition & 1 deletion hubmap-auth/src/templates/status.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ <h2>CELLS API</h2>

<!-- Need to update this to use "cells_api.postgres_connection" once Matt redeploys the corresponding tweaks -->
{% if data.cells_api["Postgres connection"] %}
<p class="pl-4">Postgres Connection: {{ data.cells_api["Postgres connection"] }}</p>
<p class="pl-4">Postgres Connection: {{ data.cells_api.postgres_connection }}</p>
{% endif %}

{% endif %}
Expand Down

0 comments on commit 446b972

Please sign in to comment.