Skip to content
Snippets Groups Projects
Commit c4439957 authored by Christian Pointner's avatar Christian Pointner
Browse files

add job logging was in the wrong code path

parent 31493f46
No related branches found
No related tags found
No related merge requests found
......@@ -72,15 +72,16 @@ func (i *jobInventory) InsertOrGetJob(group string, id uint64, jobIn *Job) (job
ig = newJobInventoryGroup()
ig.jobs[id] = jobIn
i.groups[group] = ig
i.dbgLog.Printf("importer: job-inventory added job(%s/%d)", group, id)
return jobIn
}
if job, exists = ig.jobs[id]; !exists {
ig.jobs[id] = jobIn
i.dbgLog.Printf("importer: job-inventory added job(%s/%d)", group, id)
return jobIn
}
i.dbgLog.Printf("importer: job-inventory added job(%s/%d)", group, id)
return
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment