Skip to content

Commit 8973e69

Browse files
authored
Merge pull request #625 from vishvananda/master
Make the Platform field actually optional.
2 parents 6446e21 + a9498a8 commit 8973e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specs-go/v1/index.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type ManifestDescriptor struct {
4747
Descriptor
4848

4949
// Platform describes the platform which the image in the manifest runs on.
50-
Platform Platform `json:"platform,omitempty"`
50+
Platform *Platform `json:"platform,omitempty"`
5151
}
5252

5353
// Index references manifests for various platforms.

0 commit comments

Comments
 (0)