diff --git a/internal/orchestrator/repo.go b/internal/orchestrator/repo.go index 41e8bee1..3236e8ea 100644 --- a/internal/orchestrator/repo.go +++ b/internal/orchestrator/repo.go @@ -53,10 +53,6 @@ func (r *RepoOrchestrator) SnapshotsForPlan(ctx context.Context, plan *v1.Plan) func (r *RepoOrchestrator) Backup(ctx context.Context, plan *v1.Plan, progressCallback func(event *restic.BackupProgressEntry)) (*restic.BackupProgressEntry, error) { zap.L().Debug("repo orchestrator starting backup", zap.String("repo", r.repoConfig.Id)) - if err := r.repo.Init(ctx); err != nil { - return nil, fmt.Errorf("failed to init repo: %w", err) - } - snapshots, err := r.SnapshotsForPlan(ctx, plan) if err != nil { return nil, fmt.Errorf("failed to get snapshots for plan: %w", err)