just a typo fix

This commit is contained in:
Johannes Findeisen 2013-11-06 05:07:58 +01:00
commit 8cf21b1b2c

View file

@ -89,8 +89,8 @@ class Job:
self.job_index = 0 self.job_index = 0
self.job_infos[self.job_index] = job_info self.job_infos[self.job_index] = job_info
def handle_threshold(self, service_threshold, execution_sucessful): def handle_threshold(self, service_threshold, execution_successful):
if execution_sucessful: if execution_successful:
if self.job_threshold > 0: if self.job_threshold > 0:
if "threshold_reset" in self.core and self.core["threshold_reset"]: if "threshold_reset" in self.core and self.core["threshold_reset"]:
logger.info("Job " + self.hex_string() + ", Threshold Reset") logger.info("Job " + self.hex_string() + ", Threshold Reset")