We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da9550 commit 7616febCopy full SHA for 7616feb
scripts/boot.sh
@@ -1,16 +1,20 @@
1
#!/bin/bash
2
args=("$@")
3
+
4
+# lowercase DD_LOG_LEVEL
5
+DD_LOG_LEVEL=$(echo "$DD_LOG_LEVEL" | tr '[:upper:]' '[:lower:]')
6
7
if [ "$DD_EXPERIMENTAL_ENABLE_PROXY" == "true" ]
8
then
- if [ grep -ix "$DD_LOG_LEVEL" <<< "debug" ]
9
+ if [ "$DD_LOG_LEVEL" == "debug" ]
10
11
echo "[bootstrap] DD_EXPERIMENTAL_ENABLE_PROXY is true"
12
echo "[bootstrap] original AWS_LAMBDA_RUNTIME_API value is $AWS_LAMBDA_RUNTIME_API"
13
fi
14
15
export AWS_LAMBDA_RUNTIME_API="127.0.0.1:9000"
16
17
18
19
echo "[bootstrap] rerouting AWS_LAMBDA_RUNTIME_API to $AWS_LAMBDA_RUNTIME_API"
20
0 commit comments