Skip to content

Commit 875d587

Browse files
Exclude approval message jobs from logs processor
hyphen
1 parent 4956c50 commit 875d587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DMOps/file_invalidation_server/fi_manager/process_jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def fetch_and_process():
2626
if not job.status.conditions:
2727
continue
2828

29-
if job.kind == "CronJob" or 'jobs-log-processor' in job_name:
29+
if job.kind == "CronJob" or ('jobs-log-processor' in job_name) or ('approval-message' in job_name):
3030
continue
3131

3232
condition_types = {cond.type: cond.status for cond in job.status.conditions}

0 commit comments

Comments
 (0)