Echo OK after linting only if current action is "lint"

This commit is contained in:
Tortue Torche
2019-08-11 02:48:11 -04:00
committed by Tortue Torche
parent 7fe05a227d
commit 95c3ec548f

4
psu
View File

@ -1276,7 +1276,9 @@ lint() {
rm -f docker_stack_validation_report
exit 1
else
echo "[OK]"
if [ "$ACTION" == "lint" ]; then
echo "[OK]"
fi
echo_verbose "The '$DOCKER_COMPOSE_FILE' Docker compose/stack file is valid"
fi
else