mchalek closed pull request #2823: fix to inconsistent task instance state log message URL: https://github.com/apache/incubator-airflow/pull/2823
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/airflow/jobs.py b/airflow/jobs.py index 868e785c8c..230c418cf4 100644 --- a/airflow/jobs.py +++ b/airflow/jobs.py @@ -1421,7 +1421,7 @@ def _process_executor_events(self, simple_dag_bag, session=None): if ti.state == State.QUEUED: msg = ("Executor reports task instance %s finished (%s) " "although the task says its %s. Was the task " - "killed externally?".format(ti, state, ti.state)) + "killed externally?" % (ti, state, ti.state)) self.log.error(msg) try: simple_dag = simple_dag_bag.get_dag(dag_id) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services