images: Config: explicitly return nil-error

just a minor nit :)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-09-26 13:20:41 +02:00
parent c33249cbe6
commit b40e95e0ea
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

View File

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