check staleness: remove safety code after testing
This commit is contained in:
parent
5f8f17b3fe
commit
141069532d
@ -91,10 +91,6 @@ def check_staleness(h):
|
|||||||
:param h:
|
:param h:
|
||||||
:return: email_msg, log_msg
|
:return: email_msg, log_msg
|
||||||
"""
|
"""
|
||||||
# XXX for first tests, only work on one specific host
|
|
||||||
if h.name != "test-staleness":
|
|
||||||
return S_notstale, None, None
|
|
||||||
|
|
||||||
email_msg = log_msg = None
|
email_msg = log_msg = None
|
||||||
t_now = timezone.now()
|
t_now = timezone.now()
|
||||||
last_update_ipv4 = h.last_update_ipv4 or NEVER
|
last_update_ipv4 = h.last_update_ipv4 or NEVER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user