Skip to content

Commit

Permalink
Clean up logs: remove error suppressing
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnestaP committed Dec 18, 2023
1 parent 269d617 commit 62f534d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dags/clean/cleanup_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def cleanup_logs():
task_id="cleanup_logs",
bash_command=f"""
logs_dir="{logs_dir}"
find "$logs_dir" -type d -mtime +30 -exec rm -r {{}} \; 2>/dev/null
find "$logs_dir" -type d -mtime +30 -exec rm -r {{}} \;
""",
)

Expand Down

0 comments on commit 62f534d

Please sign in to comment.