mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 12:58:02 +08:00
style(metadb): use type aliases for metadb types to be easier to read (#2043)
Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com>
This commit is contained in:
@@ -160,7 +160,7 @@ func IsResourceExistsException(err error) bool {
|
||||
func (imgTrustStore *ImageTrustStore) VerifySignature(
|
||||
signatureType string, rawSignature []byte, sigKey string, manifestDigest godigest.Digest, imageMeta mTypes.ImageMeta,
|
||||
repo string,
|
||||
) (string, time.Time, bool, error) {
|
||||
) (mTypes.Author, mTypes.ExpiryDate, mTypes.Validity, error) {
|
||||
desc := ispec.Descriptor{
|
||||
MediaType: imageMeta.MediaType,
|
||||
Digest: imageMeta.Digest,
|
||||
|
||||
Reference in New Issue
Block a user