diff --git a/elasticRecheck.conf.sample b/elasticRecheck.conf.sample index f88d0c98..2b038f85 100644 --- a/elasticRecheck.conf.sample +++ b/elasticRecheck.conf.sample @@ -9,7 +9,7 @@ channel_config=/home/mtreinish/elasticRecheck/recheckwatchbot.yaml [recheckwatch] #Any project that has a job that matches this regex will have all their #jobs included in the recheck algorithm -jobs_regex=dsvm +jobs_re=dsvm ci_username=jenkins [gerrit] diff --git a/elastic_recheck/config.py b/elastic_recheck/config.py index 3967cfd3..d4cef0ba 100644 --- a/elastic_recheck/config.py +++ b/elastic_recheck/config.py @@ -100,7 +100,7 @@ class Config(object): 'db_uri': DB_URI, 'server_password': None, 'ci_username': CI_USERNAME, - 'jobs_regex': JOBS_RE, + 'jobs_re': JOBS_RE, 'pidfile': PID_FN, 'index_format': DEFAULT_INDEX_FORMAT, 'query_file': GERRIT_QUERY_FILE, @@ -117,7 +117,7 @@ class Config(object): if config.has_section('recheckwatch'): self.ci_username = config.get('recheckwatch', 'ci_username') - self.jobs_regex = config.get('recheckwatch', 'jobs_regex') + self.jobs_re = config.get('recheckwatch', 'jobs_re') if config.has_section('gerrit'): self.gerrit_user = config.get('gerrit', 'user')