Remove accidental query in healthcheck
This commit is contained in:
parent
f688273ccf
commit
1346e49a60
@ -34,8 +34,6 @@ def _check_clusters() -> CheckResult:
|
|||||||
cluster for cluster in clusters if cluster.status in [Conf.IDLE, Conf.WORKING]
|
cluster for cluster in clusters if cluster.status in [Conf.IDLE, Conf.WORKING]
|
||||||
]
|
]
|
||||||
|
|
||||||
Schedule.objects.all()
|
|
||||||
|
|
||||||
if not len(clusters):
|
if not len(clusters):
|
||||||
return CheckResultFailure("No clusters running!")
|
return CheckResultFailure("No clusters running!")
|
||||||
elif len(happy_clusters) != len(clusters):
|
elif len(happy_clusters) != len(clusters):
|
||||||
|
Loading…
Reference in New Issue
Block a user