File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 4646 RESPONSE=" $( mktemp) "
4747 EVENT_DATA=$( curl -sS -LD " $HEADERS " -X GET " http://${AWS_LAMBDA_RUNTIME_API} /${RUNTIME_PATH} /invocation/next" )
4848 REQUEST_ID=$( grep -Fi Lambda-Runtime-Aws-Request-Id " $HEADERS " | tr -d ' [:space:]' | cut -d: -f2)
49- # export PYTHONPATH="/var/task/bin/site-packages"
5049 # Export some additional context
5150 export AWS_LAMBDA_REQUEST_ID=$REQUEST_ID
5251 export AWS_LAMBDA_DEADLINE_MS=$( grep -Fi Lambda-Runtime-Deadline-Ms " $HEADERS " | tr -d ' [:space:]' | cut -d: -f2)
6665 sendRuntimeError " $REQUEST_ID " " Exited with code $EXIT_CODE " " RuntimeErrorException" " $( cat $RESPONSE ) "
6766 fi
6867 # Clean up
69- rm -f $HEADERS
70- rm -f $RESPONSE
68+ rm -f -- " $HEADERS "
69+ rm -f -- " $RESPONSE "
7170done
You can’t perform that action at this time.
0 commit comments