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 689f4b0 commit 686e896Copy full SHA for 686e896
loki_exporter.sh
@@ -56,7 +56,7 @@ _do_bulk_post() {
56
rm -f ${BULK_DATA}
57
58
if curl -fs -X POST -H "Content-Type: application/json" -H "Content-Encoding: gzip" -H "Authorization: Basic ${LOKI_AUTH_HEADER}" --data-binary "@${BULK_DATA}.payload.gz" "${LOKI_PUSH_URL}"; then
59
- if [ "${AUTOTEST}" -eq 1 ]; then
+ if [ "${AUTOTEST-0}" -eq 1 ]; then
60
mkdir -p results
61
cp ${BULK_DATA}.payload.gz results/
62
fi
@@ -144,7 +144,7 @@ fi
144
145
while true; do
146
_main_loop
147
148
exit 0
149
150
echo "tailer exited, starting over" >&2
0 commit comments