Skip to content

Commit fd3537d

Browse files
committed
specs-go/v1: remove stutter in name of index
We are already working with images, so we don't need to repeat ourselves. Changing `ImageIndex` to `Index. Signed-off-by: Stephen J Day <[email protected]>
1 parent a431dbc commit fd3537d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specs-go/v1/image_index.go renamed to specs-go/v1/index.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ type ManifestDescriptor struct {
5050
Platform Platform `json:"platform"`
5151
}
5252

53-
// ImageIndex references manifests for various platforms.
53+
// Index references manifests for various platforms.
5454
// This structure provides `application/vnd.oci.image.index.v1+json` mediatype when marshalled to JSON.
55-
type ImageIndex struct {
55+
type Index struct {
5656
specs.Versioned
5757

5858
// Manifests references platform specific manifests.

0 commit comments

Comments
 (0)