Skip to content

Commit

Permalink
Merge pull request #147 from natefoo/clear-additional-on-requeue
Browse files Browse the repository at this point in the history
Clear additional fields when requeueing jobs
  • Loading branch information
hexylena authored Jan 30, 2024
2 parents e087eff + d126782 commit 6dd3784
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion parts/21-mutate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,13 @@ mutate_restart-jobs() { ## [--commit] <-|job_id [job_id [...]]> : Restart some j

read -r -d '' QUERY <<-EOF
UPDATE job
SET state = 'new'
SET
state = 'new',
destination_id = null,
destination_params = null,
job_runner_name = null,
job_runner_external_id = null,
info = ''
WHERE job.id in ($job_ids_string)
EOF

Expand Down

0 comments on commit 6dd3784

Please sign in to comment.