Skip to content

Commit

Permalink
Crash reporter add finding only once
Browse files Browse the repository at this point in the history
  • Loading branch information
moshemorad committed Dec 24, 2024
1 parent 2e1a1fe commit f279977
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/robusta/core/playbooks/crash_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ def send_crash_report(
except Exception:
logging.error("Failed to get pod logs", exc_info=True)

event.add_finding(finding)
event.add_finding(finding)
1 change: 0 additions & 1 deletion src/robusta/core/playbooks/playbooks_event_handler_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ def __run_playbook_actions(
playbooks_errors_count.labels(source).inc()
continue
try:
logging.info("Calling action: %s", registered_action.action_name)
if action_with_params:
registered_action.func(execution_event, params)
else:
Expand Down

0 comments on commit f279977

Please sign in to comment.