Skip to content

Commit

Permalink
Merge pull request #607 from q384566678/plat-omit
Browse files Browse the repository at this point in the history
index.go: add omitempty to platform
  • Loading branch information
vbatts authored Mar 10, 2017
2 parents fa4c9fb + 9548f7d commit a3500d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs-go/v1/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type ManifestDescriptor struct {
Descriptor

// Platform describes the platform which the image in the manifest runs on.
Platform Platform `json:"platform"`
Platform Platform `json:"platform,omitempty"`
}

// Index references manifests for various platforms.
Expand Down

0 comments on commit a3500d5

Please sign in to comment.