Skip to content

Commit

Permalink
Warn that buildHorizon and logHorizon are currently ignored.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomprince committed Jun 25, 2016
1 parent 4a94332 commit 9841aba
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 9841aba

Please sign in to comment.