Fix spacing
This commit is contained in:
parent
8085ff81a8
commit
27e7447569
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ def health():
|
||||||
check = HealthCheck.get_check(app.config['HEALTH_CHECKER'][0], app.config['HEALTH_CHECKER'][1])
|
check = HealthCheck.get_check(app.config['HEALTH_CHECKER'][0], app.config['HEALTH_CHECKER'][1])
|
||||||
(data, is_healthy) = check.conduct_healthcheck(db_healthy, buildlogs_healthy)
|
(data, is_healthy) = check.conduct_healthcheck(db_healthy, buildlogs_healthy)
|
||||||
|
|
||||||
response = jsonify(dict(data = data, is_healthy = is_healthy))
|
response = jsonify(dict(data=data, is_healthy=is_healthy))
|
||||||
response.status_code = 200 if is_healthy else 503
|
response.status_code = 200 if is_healthy else 503
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|
Reference in a new issue