ashb opened a new pull request, #28534:
URL: https://github.com/apache/airflow/pull/28534

   Otherwise if pod mutation hook changes the name the log message from the
   KubeExecutor would be incorrect. As somewhat of a drive-by-refactor I
   have moved the application of the pod_mutation_hook to inside
   PodGenerator.construct_pod.
   
   I think the default for `with_mutation_hook` _should_ be True, but it's
   not clear to me if anything out side of the Airflow core might ever call
   these, and I don't want to apply the hook multiple times, so I have left
   the default as `False`.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to