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
......@@ -83,4 +83,4 @@ recipe = slapos.cookbook:publish-early
[slap-parameter]
# In cron.d format (i.e things like */15 * * * * are accepted).
resiliency-backup-periodicity =
notify =
\ No newline at end of file
notify =
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