mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-08 06:45:32 +00:00
feat: initial support for healthchecks.io notifications (#480)
This commit is contained in:
@@ -98,7 +98,7 @@ func newOneoffRunHookTask(title, instanceID, repoID, planID string, parentOp *v1
|
||||
clone.FieldByName("Event").Set(reflect.ValueOf(event))
|
||||
}
|
||||
|
||||
if err := h.Execute(ctx, hook, clone, taskRunner); err != nil {
|
||||
if err := h.Execute(ctx, hook, clone, taskRunner, event); err != nil {
|
||||
err = applyHookErrorPolicy(hook.OnError, err)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user