jscheffl commented on code in PR #59948:
URL: https://github.com/apache/airflow/pull/59948#discussion_r2655808230


##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/utils/pod_manager.py:
##########
@@ -808,9 +809,20 @@ def read_pod_events(self, pod: V1Pod, resource_version: 
str | None = None) -> Co
     def read_pod(self, pod: V1Pod) -> V1Pod:
         """Read POD information."""
         try:
-            return self._client.read_namespaced_pod(pod.metadata.name, 
pod.metadata.namespace)
-        except HTTPError as e:
-            raise KubernetesApiException(f"There was an error reading the 
kubernetes API: {e}")
+            return self._client.read_namespaced_pod(
+                pod.metadata.name,
+                pod.metadata.namespace,
+            )

Review Comment:
   Not sure, why did you add the line breaks here? There is actually no change 
in these lines, correct?



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