forked from GithubBackups/healthchecks
Cleanup
This commit is contained in:
parent
c3c63bf523
commit
27ebb4fde5
@ -5,7 +5,6 @@ import json
|
|||||||
from croniter import croniter
|
from croniter import croniter
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.contrib import messages
|
from django.contrib import messages
|
||||||
from django.contrib.auth.models import User
|
|
||||||
from django.contrib.auth.decorators import login_required
|
from django.contrib.auth.decorators import login_required
|
||||||
from django.core import signing
|
from django.core import signing
|
||||||
from django.db.models import Count
|
from django.db.models import Count
|
||||||
@ -43,9 +42,6 @@ def my_checks(request):
|
|||||||
for check in checks:
|
for check in checks:
|
||||||
status = check.get_status()
|
status = check.get_status()
|
||||||
for tag in check.tags_list():
|
for tag in check.tags_list():
|
||||||
if tag == "":
|
|
||||||
continue
|
|
||||||
|
|
||||||
counter[tag] += 1
|
counter[tag] += 1
|
||||||
|
|
||||||
if status == "down":
|
if status == "down":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user