chore(code): clean up the code EE-5719 (#9183)

This commit is contained in:
andres-portainer
2023-07-10 23:26:54 -03:00
committed by GitHub
parent 979af5301e
commit 64b227b2e1
24 changed files with 93 additions and 87 deletions

View File

@@ -18,6 +18,7 @@ func (service *Service) AddEdgeJob(endpoint *portainer.Endpoint, edgeJob *portai
for idx, existingJob := range tunnel.Jobs {
if existingJob.ID == edgeJob.ID {
existingJobIndex = idx
break
}
}