Skip to content

Commit

Permalink
correction
Browse files Browse the repository at this point in the history
  • Loading branch information
azime committed Sep 12, 2023
1 parent 4d40472 commit 525f6d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/jormungandr/jormungandr/default_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,4 @@
BEST_BOARDING_POSITIONS_DIR = os.getenv('JORMUNGANDR_BEST_BOARDING_POSITIONS_DIR', None)
ORIGIN_DESTINATION_DIR = os.getenv('JORMUNGANDR_ORIGIN_DESTINATION_DIR', None)
STOP_POINTS_ATTRACTIVITIES_DIR = os.getenv('JORMUNGANDR_STOP_POINTS_ATTRACTIVITIES_DIR', None)
DEPLOYMENT_AZ_SUFFIX = os.getenv('JORMUNGANDR_DEPLOYMENT_AZ_SUFFIX', "unknown")
DEPLOYMENT_AZ = os.getenv('JORMUNGANDR_DEPLOYMENT_AZ', "unknown")
4 changes: 2 additions & 2 deletions source/jormungandr/jormungandr/new_relic.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def wrapper(obj, service, *args, **kwargs):
"call": call_name,
"group": group_name,
"status": "ok",
"az_suffix": app.config.get("DEPLOYMENT_AZ_SUFFIX", "unknown"),
"az": app.config.get("DEPLOYMENT_AZ", "unknown"),
}

start_time = timeit.default_timer()
Expand Down Expand Up @@ -173,7 +173,7 @@ def record_streetnetwork_call(call_name, connector_name, mode, coverage_name):
"mode": mode,
"coverage": coverage_name,
"status": "ok",
"az_suffix": app.config.get("DEPLOYMENT_AZ_SUFFIX", "unknown"),
"az": app.config.get("DEPLOYMENT_AZ", "unknown"),
}
start_time = timeit.default_timer()
try:
Expand Down

0 comments on commit 525f6d5

Please sign in to comment.