Skip to content

Commit 5a3914c

Browse files
author
jikun.zhang
committed
fix docker-entrypoint.sh error
1 parent 589c56d commit 5a3914c

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

docker-entrypoint.sh

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ else
77
fi
88

99
if env | grep -q '^PA_.\+=.\+'; then
10-
for VAR_NAME in $(env | grep '^PA_.\+=.\+' | sed -r "s/^PA_([^=]*).*/\1/g"); do
10+
for VAR_NAME in $(env | grep '^PA_.\+=.\+' | sed -r "s/^PA_([^=]*).*/\1/g");do
1111
if echo ${VAR_NAME} | grep -q '.*\-.*'; then
1212
echo "\"PA_${VAR_NAME}\" in Environment variable contains '-',this will be ignored."
1313
continue
@@ -23,4 +23,4 @@ if env | grep -q '^PA_.\+=.\+'; then
2323
done
2424
fi
2525

26-
exec /app/PrometheusAlert
26+
exec /app/PrometheusAlert

example/linux/PrometheusAlert

1.17 MB
Binary file not shown.
81.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)