From e0c3589d528e785cc0b79fe995f55d71303fa712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Tue, 25 Oct 2022 10:12:02 -0300 Subject: [PATCH] Corrige bug no cronjob --- sigi/apps/servicos/jobs/daily/sincroniza_rancher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigi/apps/servicos/jobs/daily/sincroniza_rancher.py b/sigi/apps/servicos/jobs/daily/sincroniza_rancher.py index 005cfe2..bb99d6c 100644 --- a/sigi/apps/servicos/jobs/daily/sincroniza_rancher.py +++ b/sigi/apps/servicos/jobs/daily/sincroniza_rancher.py @@ -118,7 +118,7 @@ class Job(DailyJob): try: portal = Servico.objects.get( - instancia=iname, tipo_servico=tipo, data_desativao=None + instancia=iname, tipo_servico=tipo, data_desativacao=None ) encontrados += 1 except Servico.MultipleObjectsReturned: