Skip to content

Commit

Permalink
Use SIGINT signal number instead of signal name (#37905)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdebelak committed Mar 6, 2024
1 parent fd4dfd8 commit 8e6f78a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/providers/cncf/kubernetes/utils/pod_manager.py
Expand Up @@ -789,7 +789,7 @@ def extract_xcom_kill(self, pod: V1Pod):
_preload_content=False,
)
) as resp:
self._exec_pod_command(resp, "kill -s SIGINT 1")
self._exec_pod_command(resp, "kill -2 1")

def _exec_pod_command(self, resp, command: str) -> str | None:
res = ""
Expand Down

0 comments on commit 8e6f78a

Please sign in to comment.