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

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.