pankajastro commented on code in PR #37363:
URL: https://github.com/apache/airflow/pull/37363#discussion_r1488422474
##########
airflow/providers/cncf/kubernetes/operators/pod.py:
##########
@@ -713,6 +714,11 @@ def trigger_reentry(self, context: Context, event:
dict[str, Any]) -> Any:
if not self.pod:
raise PodNotFoundException("Could not find pod after resuming
from deferral")
+ if self.callbacks:
+ self.callbacks.on_operator_resuming(
+ pod=self.pod, event=event, client=self.client,
mode=ExecutionMode.SYNC
+ )
+
if self.get_logs:
last_log_time = event and event.get("last_log_time")
if last_log_time:
Review Comment:
in that case user does not want periodic log and it execute only in terminal
state, right?
--
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]