Strip whitespace from ALL the things.
This commit is contained in:
parent
f6dd8b0a4d
commit
716d7a737b
171 changed files with 807 additions and 807 deletions
|
@ -12,7 +12,7 @@ class HealthCheck(object):
|
|||
Conducts any custom healthcheck work, returning a dict representing the HealthCheck
|
||||
output and a boolean indicating whether the instance is healthy.
|
||||
"""
|
||||
raise NotImplementedError
|
||||
raise NotImplementedError
|
||||
|
||||
@classmethod
|
||||
def get_check(cls, name, parameters):
|
||||
|
@ -44,12 +44,12 @@ class ProductionHealthCheck(HealthCheck):
|
|||
def __init__(self, access_key, secret_key):
|
||||
self.access_key = access_key
|
||||
self.secret_key = secret_key
|
||||
|
||||
|
||||
@classmethod
|
||||
def check_name(cls):
|
||||
return 'ProductionHealthCheck'
|
||||
|
||||
def conduct_healthcheck(self, db_healthy, buildlogs_healthy):
|
||||
def conduct_healthcheck(self, db_healthy, buildlogs_healthy):
|
||||
data = {
|
||||
'db_healthy': db_healthy,
|
||||
'buildlogs_healthy': buildlogs_healthy
|
||||
|
@ -81,4 +81,4 @@ class ProductionHealthCheck(HealthCheck):
|
|||
# requests once RDS comes back up.
|
||||
return (data, not is_rds_working)
|
||||
|
||||
return (data, db_healthy)
|
||||
return (data, db_healthy)
|
||||
|
|
Reference in a new issue