Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correctly shutdown xcom after job is complete
I got the following logs when using the original statement ``` docker run -u 1000 -it alpine sh # alpine container seems to be run under uid 1000 in kubernetes sh -c trap "exit 0" INT; while true; do sleep 1; done; ```` ``` kill -2 $(pgrep -u $(whoami) -f 'trap') ``` ``` whoami whoami: unknown uid 1000 ``` ``` pgrep -f 'trap' # returns no processes ``` instead with: ``` kill -2 $(pgrep -u $(id -u) -f 'sh') ``` Signed-off-by: Kasper J. Hermansen <[email protected]>
- Loading branch information