don't update last seen in checkrunner

This commit is contained in:
wh1te909 2020-11-23 01:25:33 +00:00
parent 041830a7f8
commit b7150d8026
1 changed files with 0 additions and 2 deletions

View File

@ -144,8 +144,6 @@ class CheckRunner(APIView):
def get(self, request, agentid):
agent = get_object_or_404(Agent, agent_id=agentid)
agent.last_seen = djangotime.now()
agent.save(update_fields=["last_seen"])
checks = Check.objects.filter(agent__pk=agent.pk, overriden_by_policy=False)
ret = {