feat: refactor job result handling and remove unused files

This commit is contained in:
2026-04-16 16:47:35 -05:00
parent 39c0d99502
commit 93b302db8e
5 changed files with 22 additions and 97 deletions

View File

@@ -26,11 +26,11 @@ func processMigrationJob(
transformer etl.Transformer,
loader etl.Loader,
job config.Job,
) JobResult {
) models.JobResult {
localCtx, cancel := context.WithCancel(ctx)
defer cancel()
result := JobResult{
result := models.JobResult{
JobName: job.Name,
StartTime: time.Now(),
}