gonzalodiaz commented on a change in pull request #5926: [AIRFLOW-5315] 
TaskInstance now only overwrites executor_config when explicitly told…
URL: https://github.com/apache/airflow/pull/5926#discussion_r318100043
 
 

 ##########
 File path: airflow/models/taskinstance.py
 ##########
 @@ -454,7 +457,9 @@ def refresh_from_db(self, session=None, 
lock_for_update=False):
             self.max_tries = ti.max_tries
             self.hostname = ti.hostname
             self.pid = ti.pid
-            self.executor_config = ti.executor_config
+            # if update_executor_config:
 
 Review comment:
   This commented line seems to be forgotten here :D 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to