You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "eladkal (via GitHub)" <gi...@apache.org> on 2023/09/08 05:56:55 UTC

[GitHub] [airflow] eladkal commented on a diff in pull request #34127: Remove duplicated logs by reusing PodLogsConsumer

eladkal commented on code in PR #34127:
URL: https://github.com/apache/airflow/pull/34127#discussion_r1319397360


##########
airflow/providers/cncf/kubernetes/utils/pod_manager.py:
##########
@@ -388,7 +388,7 @@ def fetch_container_logs(
             before=before_log(self.log, logging.INFO),
         )
         def consume_logs(
-            *, since_time: DateTime | None = None, follow: bool = True, termination_timeout: int = 120
+            *, logs: PodLogsConsumer

Review Comment:
   I'm not sure if `pod_manager.py` is part of our public API? cc @hussein-awala  ?
   should we consider this as a breaking change?



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org