Skip to content

Commit

Permalink
Merge pull request #2292 from tomprince/unused-horizons
Browse files Browse the repository at this point in the history
Warn about ignored buildHorizon and logHorizion.
  • Loading branch information
tardyp committed Jun 26, 2016
2 parents 4a94332 + 9841aba commit e9fa9e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions master/buildbot/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,9 @@ def check_status(self):
s.checkConfig(self.status)

def check_horizons(self):
if self.logHorizon is not None or self.buildHorizon is not None:
log.msg("NOTE: `buildHorizon` and `logHorizon` are currently ignored "
"(see http://trac.buildbot.net/ticket/3572)")
if self.logHorizon is not None and self.buildHorizon is not None:
if self.logHorizon > self.buildHorizon:
error("logHorizon must be less than or equal to buildHorizon")
Expand Down

0 comments on commit e9fa9e6

Please sign in to comment.