Merge pull request #227 from elnappo/#225

fixes #225
This commit is contained in:
TW 2015-12-28 11:10:36 +01:00
commit f5a48db4d7

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)