Skip to content

Commit

Permalink
fix dag processor job_runner, add missing job_type
Browse files Browse the repository at this point in the history
  • Loading branch information
AmFlint committed May 10, 2023
1 parent 89e0c51 commit 1cfdc41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/jobs/dag_processor_job_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def __init__(
f"The job is already assigned a different job_type: {job.job_type}."
f"This is a bug and should be reported."
)
self.job.job_type = self.job_type
self.processor = processor
self.processor.heartbeat = lambda: perform_heartbeat(
job=self.job,
Expand Down

0 comments on commit 1cfdc41

Please sign in to comment.