Exclude Cisco failed_attempts pipeline

This commit is contained in:
weslambert
2024-01-11 10:52:30 -05:00
committed by GitHub
parent c89d674a92
commit 5e1e685ce0

View File

@@ -66,7 +66,8 @@ log_has_errors() {
grep -vE "response from daemon: unauthorized" | \
grep -vE "Reading first line of patchfile" | \
grep -vE "Command failed with exit code" | \
grep -vE "Running scope as unit" &> "$error_log"
grep -vE "Running scope as unit" | \
grep -vE "log-.*-pipeline_failed_attempts" &> "$error_log"
if [[ $? -eq 0 ]]; then
# This function succeeds (returns 0) if errors are detected