From 3e85f1d0d48f0fb65a83af6ce3fb4b6a08f0bb1a Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 28 Dec 2016 13:59:43 -0600 Subject: Create an option that lets you require two failures before alerting. --- jobs/JobSpawner.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'jobs/JobSpawner.py') diff --git a/jobs/JobSpawner.py b/jobs/JobSpawner.py index 0765339..ff9744f 100755 --- a/jobs/JobSpawner.py +++ b/jobs/JobSpawner.py @@ -1,7 +1,7 @@ -#!/usr/bin/env python - -class JobSpawner: - """OVERRIDE ME - Returns an array (or using 'yield') of Job objects to run""" - def get_sub_jobs(self, config): - pass +#!/usr/bin/env python + +class JobSpawner: + """OVERRIDE ME + Returns an array (or using 'yield') of Job objects to run""" + def get_sub_jobs(self, config): + pass -- cgit v1.2.3