Add is_testing info and mirror the moved endpoints so we can migrate safely.
This commit is contained in:
parent
b74b7de197
commit
1cce87b136
2 changed files with 6 additions and 1 deletions
|
@ -51,7 +51,8 @@ class HealthCheck(object):
|
|||
|
||||
data = {
|
||||
'services': service_statuses,
|
||||
'notes': notes
|
||||
'notes': notes,
|
||||
'is_testing': self.app.config['TESTING']
|
||||
}
|
||||
|
||||
return (data, 200 if is_healthy else 503)
|
||||
|
|
Reference in a new issue