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

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.