Merge pull request #9146 from thaJeztah/nil_error
images: Config: explicitly return nil-error
This commit is contained in:
commit
bcd658c76c
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user