Merge pull request #44 from ThomDietrich/patch-1

Hide START_PERIOD=0 from log
This commit is contained in:
will Farrell
2020-06-03 13:41:54 -06:00
committed by GitHub
+1 -1
View File
@@ -35,7 +35,7 @@ if [ "$1" = 'autoheal' ] && [ -e ${DOCKER_SOCK} ]; then
fi
AUTOHEAL_START_PERIOD=${AUTOHEAL_START_PERIOD:=0}
echo "Monitoring containers for unhealthy status in ${AUTOHEAL_START_PERIOD} second(s)"
echo "Monitoring containers for unhealthy status $([ "${AUTOHEAL_START_PERIOD}" != 0 ] && echo "in ${AUTOHEAL_START_PERIOD} second(s)")"
sleep ${AUTOHEAL_START_PERIOD}
while true; do