Merge pull request #9146 from thaJeztah/nil_error

images: Config: explicitly return nil-error
This commit is contained in:
Phil Estes 2023-09-26 12:27:00 -04:00 committed by GitHub
commit bcd658c76c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -254,7 +254,7 @@ func Config(ctx context.Context, provider content.Provider, image ocispec.Descri
if err != nil {
return ocispec.Descriptor{}, err
}
return manifest.Config, err
return manifest.Config, nil
}
// Platforms returns one or more platforms supported by the image.