jedcunningham commented on code in PR #24719:
URL: https://github.com/apache/airflow/pull/24719#discussion_r909069294


##########
airflow/providers/cncf/kubernetes/hooks/kubernetes.py:
##########
@@ -382,12 +383,11 @@ def get_pod_log_stream(
         :param container: container name
         :param namespace: kubernetes namespace
         """
-        api = client.CoreV1Api(self.api_client)
         watcher = watch.Watch()
         return (
             watcher,
             watcher.stream(
-                api.read_namespaced_pod_log,
+                self.core_v1_client.read_namespaced_pod_log,

Review Comment:
   This is the refactor, and 1 more identical below it. The rest are typing 
changes.



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