Add missing constructor argument

This commit is contained in:
Joseph Schorr 2016-07-06 16:17:02 -04:00
parent e252ee07cb
commit d1699e75b7

View file

@ -82,9 +82,9 @@ class LocalHealthCheck(HealthCheck):
class RDSAwareHealthCheck(HealthCheck):
def __init__(self, app, config_provider, access_key, secret_key, db_instance='quay',
region='us-east-1'):
super(RDSAwareHealthCheck, self).__init__(app, config_provider, ['redis'])
def __init__(self, app, config_provider, instance_keys, access_key, secret_key,
db_instance='quay', region='us-east-1'):
super(RDSAwareHealthCheck, self).__init__(app, config_provider, instance_keys, ['redis'])
self.access_key = access_key
self.secret_key = secret_key
self.db_instance = db_instance