Skip to content

Commit

Permalink
Implement Info in the oci store content implementation (#187)
Browse files Browse the repository at this point in the history
Signed-off-by: oanatmaria <oana@aserto.com>
  • Loading branch information
oanatmaria committed Jun 21, 2022
1 parent 991ecbb commit a5cf23a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/content/oci.go
Expand Up @@ -251,11 +251,10 @@ func (s *OCI) validateOCILayoutFile() error {
return nil
}

// TODO: implement (needed to create a content.Store)
// TODO: do not return empty content.Info
// Info will return metadata about content available in the content store.
// Abort completely cancels the ingest operation targeted by ref.
func (s *OCI) Info(ctx context.Context, dgst digest.Digest) (content.Info, error) {
return content.Info{}, nil
return s.Store.Info(ctx, dgst)
}

// TODO: implement (needed to create a content.Store)
Expand Down

0 comments on commit a5cf23a

Please sign in to comment.