diff --git a/bin/test_prometheus.sh b/bin/test_prometheus.sh index 786d7f0..8a9b013 100755 --- a/bin/test_prometheus.sh +++ b/bin/test_prometheus.sh @@ -55,7 +55,7 @@ gen_ssl () { check_prometheus () { logfile="$1" - if ! mispipe 'promtool check config /etc/prometheus/prometheus.yml' "tee -a $logfile" + if ! mispipe 'promtool check config --lint-fatal /etc/prometheus/prometheus.yml' "tee -a $logfile" then echo 'Configuration is invalid' | tee -a "$logfile" return 1