Skip to content

Commit

Permalink
fix job log message
Browse files Browse the repository at this point in the history
  • Loading branch information
benwaples committed Feb 3, 2024
1 parent a616d58 commit f57fa5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/api/src/daemons/datapipe/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func PartialCompleteFileUploadJobs(ctx context.Context, db database.Database) {
log.Errorf("Failed to load file upload jobs under analysis: %v", err)
} else {
for _, job := range fileUploadJobsUnderAnalysis {
if err := fileupload.UpdateFileUploadJobStatus(db, job, model.JobStatusPartiallyComplete, "Analysis Partially Completed"); err != nil {
log.Errorf("Failed updating file upload job %d to failed status: %v", job.ID, err)
if err := fileupload.UpdateFileUploadJobStatus(db, job, model.JobStatusPartiallyComplete, "Partially Completed"); err != nil {
log.Errorf("Failed updating file upload job %d to partially completed status: %v", job.ID, err)
}
}
}
Expand Down

0 comments on commit f57fa5d

Please sign in to comment.