You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sdap.apache.org by GitBox <gi...@apache.org> on 2018/06/06 18:44:16 UTC

[GitHub] fgreg opened a new pull request #9: SDAP-107 Ningester container does not report exit code correctly

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:
users@infra.apache.org


With regards,
Apache Git Services