Browse Source

Corrige bug no cronjob

pull/159/head 3.0.14
Sesostris Vieira 2 years ago
parent
commit
e0c3589d52
  1. 2
      sigi/apps/servicos/jobs/daily/sincroniza_rancher.py

2
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:

Loading…
Cancel
Save