hussein-awala commented on code in PR #40835:
URL: https://github.com/apache/airflow/pull/40835#discussion_r1686189229
##########
airflow/providers/cncf/kubernetes/operators/pod.py:
##########
@@ -353,9 +352,9 @@ def __init__(
self.cluster_context = cluster_context
self.reattach_on_restart = reattach_on_restart
self.get_logs = get_logs
- self.container_logs = container_logs
- if self.container_logs == KubernetesPodOperator.BASE_CONTAINER_NAME:
- self.container_logs = base_container_name or
self.BASE_CONTAINER_NAME
+ self.base_container_name = base_container_name or
self.BASE_CONTAINER_NAME
Review Comment:
You can change the default value of `base_container_name` to
`BASE_CONTAINER_NAME` and remove this line
--
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]