Skip to content

Commit

Permalink
Changing XML path
Browse files Browse the repository at this point in the history
Changing XML path because extracting information from the temp file path is creating alerts
  • Loading branch information
ReggieRichardson authored and frnckdlprt committed Feb 23, 2024
1 parent 78a3b6c commit 6c6dddf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate_postmortem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,7 @@ for NAMESPACE in $NAMESPACE_LIST; do
sleep 1

#write out XML to to file
XML_PATH="${TEMP_PATH}/error_report.xml"
XML_PATH=$(mktemp)
generateXmlForErrorReport "$XML_PATH"

#POST XML to gateway, start error report creation
Expand Down Expand Up @@ -1561,7 +1561,7 @@ for NAMESPACE in $NAMESPACE_LIST; do
#clean up
kill -9 $pid
wait $pid &>/dev/null
rm -f $XML_PATH $SCRIPT_PATH
rm -f $XML_PATH

#reset variable
IS_GATEWAY=0
Expand Down

0 comments on commit 6c6dddf

Please sign in to comment.