eilon246810 commented on code in PR #43601:
URL: https://github.com/apache/airflow/pull/43601#discussion_r1838607121
##########
providers/src/airflow/providers/cncf/kubernetes/operators/pod.py:
##########
@@ -388,7 +390,8 @@ def __init__(
self.priority_class_name = priority_class_name
self.pod_template_file = pod_template_file
self.pod_template_dict = pod_template_dict
- self.name = self._set_name(name)
+ name = self._set_name(name)
+ self.name = name
Review Comment:
I moved the `self._set_name(name)` to the `execute` function.
We discussed this subject in another thread
[here](https://github.com/apache/airflow/pull/43601#discussion_r1826539030).
Thanks for the comment!
--
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]