fgreg opened a new pull request #9: SDAP-107 Ningester container does not 
report exit code correctly
URL: https://github.com/apache/incubator-sdap-ningester/pull/9
 
 
   Because I was using a pipe to prepend text to every log line, when the java 
command failed the exit status was being overwritten by the exit status of the 
sed command effectively making it 0. This caused the container to exit with 
code 0 and would show up as a successful job completion in kubernetes.
   
   Fix was to use `set -o pipefail` in entrypoint script.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to