From 5d88ecc866b3eedb08164a26e95e2b631b8c0562 Mon Sep 17 00:00:00 2001 From: Nicholas Staples Date: Tue, 2 Feb 2016 16:42:57 +0000 Subject: [PATCH] Bug fix for mis-spelled func names. --- app/__init__.py | 2 +- app/status/views/healthcheck.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/__init__.py b/app/__init__.py index 013705e84..f28db4369 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -173,7 +173,7 @@ def register_errorhandlers(application): application.errorhandler(errcode)(render_error) -def get_api_version(): +def get_app_version(): build = 'n/a' build_time = "n/a" try: diff --git a/app/status/views/healthcheck.py b/app/status/views/healthcheck.py index 4de7a67fc..809ffcd6c 100644 --- a/app/status/views/healthcheck.py +++ b/app/status/views/healthcheck.py @@ -11,7 +11,7 @@ def status(): api_status = status_api_client.get_status() except: api_status = 'n/a' - build, build_time = get_api_version() + build, build_time = get_app_version() return jsonify(status="ok", app_version=get_app_version(), api_build=build,