Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Don't shadow embedded function
Browse files Browse the repository at this point in the history
Simplify implementing snapshotManager interface slightly.
  • Loading branch information
ashmrtn committed Nov 2, 2022
1 parent 18ea8a5 commit c3d3fbc
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/internal/kopia/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,16 +383,9 @@ func checkCompressor(compressor compression.Name) error {
return errors.Errorf("unknown compressor type %s", compressor)
}

func (w *conn) FindManifests(
ctx context.Context,
tags map[string]string,
) ([]*manifest.EntryMetadata, error) {
return w.FindManifests(ctx, tags)
}

func (w *conn) LoadSnapshots(
ctx context.Context,
ids []manifest.ID,
) ([]*snapshot.Manifest, error) {
return snapshot.LoadSnapshots(ctx, w, ids)
return snapshot.LoadSnapshots(ctx, w.Repository, ids)
}

0 comments on commit c3d3fbc

Please sign in to comment.