Skip to content

Commit

Permalink
index.go: add omitempty to platform
Browse files Browse the repository at this point in the history
Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>
  • Loading branch information
zhouhao committed Mar 10, 2017
1 parent 37f2a1b commit 9548f7d
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 9548f7d

Please sign in to comment.