jedcunningham commented on a change in pull request #15490:
URL: https://github.com/apache/airflow/pull/15490#discussion_r651887003
##########
File path: airflow/providers/cncf/kubernetes/utils/pod_launcher.py
##########
@@ -170,7 +170,8 @@ def monitor_pod(self, pod: V1Pod, get_logs: bool) ->
Tuple[State, Optional[str]]
while self.pod_is_running(pod):
self.log.info('Pod %s has state %s', pod.metadata.name,
State.RUNNING)
time.sleep(2)
- return self._task_status(self.read_pod(pod)), result
+ pod_info = self.read_pod(pod)
+ return self._task_status(pod_info), pod_info, result
Review comment:
```suggestion
remote_pod = self.read_pod(pod)
return self._task_status(remote_pod), remote_pod, result
```
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]