revert, already fixed in #1823
This commit is contained in:
parent
897e1d4539
commit
168f053c6f
|
@ -588,7 +588,7 @@ class Alert(models.Model):
|
|||
hist = AgentHistory.objects.create(
|
||||
agent=agent,
|
||||
type=AgentHistoryType.SCRIPT_RUN,
|
||||
script=alert_template.resolved_action,
|
||||
script=alert_template.action,
|
||||
username="alert-action-resolved",
|
||||
)
|
||||
r = agent.run_script(
|
||||
|
|
Loading…
Reference in New Issue