Commit 38e94023 authored by Hardik Juneja's avatar Hardik Juneja

stack/resilient: fix check if exporter failed promise

parent 1437191c
......@@ -54,7 +54,7 @@ template = inline:
EXPORTER_FEED="${notifier-exporter:log-file}"
FAILURE_PATTERN="FAILURE"
if [ -s "$EXPORTER_FEED" ]; then
tail -n 1 $EXPORTER_FEED | grep -vq FAILURE_PATTERN
tail -n 1 $EXPORTER_FEED | grep -vq $FAILURE_PATTERN
fi
rendered = ${basedirectory:promises}/exporter-status
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment