mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-14 17:45:36 +00:00
fix: store large log outputs in tar bundles of logs
This commit is contained in:
@@ -96,7 +96,7 @@ func (t *RestoreTask) Run(ctx context.Context) error {
|
||||
return nil
|
||||
}); err != nil {
|
||||
repo, _ := t.orch.GetRepo(t.restoreOpts.Plan.Repo)
|
||||
hook.ExecuteHooks(t.orch.OpLog, repo.Config(), nil, t.restoreOpts.SnapshotId, []v1.Hook_Condition{
|
||||
t.orch.hookExecutor.ExecuteHooks(repo.Config(), nil, t.restoreOpts.SnapshotId, []v1.Hook_Condition{
|
||||
v1.Hook_CONDITION_ANY_ERROR,
|
||||
}, hook.HookVars{
|
||||
Task: t.Name(),
|
||||
|
||||
Reference in New Issue
Block a user