This commit is contained in:
Fabian Weisshaar 2015-12-27 18:11:16 +01:00
parent fb84008b74
commit 8042b3fcd4

View File

@ -153,7 +153,7 @@ class Command(BaseCommand):
with transaction.atomic(): with transaction.atomic():
for h in Host.objects.all(): for h in Host.objects.all():
if stale_check: if stale_check:
host = h.name host = h.name + "." + h.domain
comment = h.comment comment = h.comment
creator = h.created_by creator = h.created_by
staleness, email_msg, log_msg = check_staleness(h) staleness, email_msg, log_msg = check_staleness(h)