Merge pull request #697 from coreos-inc/healthfix2

Add missing arg
This commit is contained in:
Jimmy Zelinskie 2015-10-22 15:58:02 -04:00
commit 24b7064140

View file

@ -20,7 +20,7 @@ class HealthCheck(object):
Conducts a check on this specific instance, returning a dict representing the HealthCheck Conducts a check on this specific instance, returning a dict representing the HealthCheck
output and a number indicating the health check response code. output and a number indicating the health check response code.
""" """
service_statuses = check_all_services(self.app, skip=self.instance_skips) service_statuses = check_all_services(self.app, self.instance_skips)
return self.get_instance_health(service_statuses) return self.get_instance_health(service_statuses)
def check_endtoend(self): def check_endtoend(self):
@ -28,7 +28,7 @@ class HealthCheck(object):
Conducts a check on all services, returning a dict representing the HealthCheck Conducts a check on all services, returning a dict representing the HealthCheck
output and a number indicating the health check response code. output and a number indicating the health check response code.
""" """
service_statuses = check_all_services(self.app) service_statuses = check_all_services(self.app, [])
return self.calculate_overall_health(service_statuses) return self.calculate_overall_health(service_statuses)
def get_instance_health(self, service_statuses): def get_instance_health(self, service_statuses):