diff options
Diffstat (limited to 'internal/git/objectpool/fetch.go')
-rw-r--r-- | internal/git/objectpool/fetch.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/git/objectpool/fetch.go b/internal/git/objectpool/fetch.go index f2a9b10b7..82f452b39 100644 --- a/internal/git/objectpool/fetch.go +++ b/internal/git/objectpool/fetch.go @@ -35,7 +35,7 @@ func (o *ObjectPool) FetchFromOrigin(ctx context.Context, origin *localrepo.Repo return fmt.Errorf("computing origin repo's path: %w", err) } - if err := o.housekeepingManager.CleanStaleData(ctx, o.Repo, housekeeping.DefaultStaleDataCleanup()); err != nil { + if err := o.housekeepingManager.CleanStaleData(ctx, logger, o.Repo, housekeeping.DefaultStaleDataCleanup()); err != nil { return fmt.Errorf("cleaning stale data: %w", err) } @@ -105,7 +105,7 @@ func (o *ObjectPool) FetchFromOrigin(ctx context.Context, origin *localrepo.Repo return fmt.Errorf("computing stats after fetch: %w", err) } - if err := o.housekeepingManager.OptimizeRepository(ctx, o.Repo); err != nil { + if err := o.housekeepingManager.OptimizeRepository(ctx, logger, o.Repo); err != nil { return fmt.Errorf("optimizing pool repo: %w", err) } |