Merge pull request #6851 from whoreyou/images-typo-20220425

images/image.go: typo
This commit is contained in:
Kazuyoshi Kato 2022-04-25 11:44:49 -07:00 committed by GitHub
commit b5aab78dd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -311,7 +311,7 @@ func Check(ctx context.Context, provider content.Provider, image ocispec.Descrip
return false, nil, nil, nil, fmt.Errorf("failed to check image %v: %w", image.Digest, err) return false, nil, nil, nil, fmt.Errorf("failed to check image %v: %w", image.Digest, err)
} }
// TODO(stevvooe): It is possible that referenced conponents could have // TODO(stevvooe): It is possible that referenced components could have
// children, but this is rare. For now, we ignore this and only verify // children, but this is rare. For now, we ignore this and only verify
// that manifest components are present. // that manifest components are present.
required = append([]ocispec.Descriptor{mfst.Config}, mfst.Layers...) required = append([]ocispec.Descriptor{mfst.Config}, mfst.Layers...)