Rename History object to comply with golint

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day 2015-01-02 17:54:01 -08:00
parent f1f610c6cd
commit 2653f73779
2 changed files with 9 additions and 9 deletions

View file

@ -33,7 +33,7 @@ type Manifest struct {
FSLayers []FSLayer `json:"fsLayers"`
// History is a list of unstructured historical data for v1 compatibility
History []ManifestHistory `json:"history"`
History []History `json:"history"`
}
// SignedManifest provides an envelope for a signed image manifest, including
@ -81,8 +81,8 @@ type FSLayer struct {
BlobSum digest.Digest `json:"blobSum"`
}
// ManifestHistory stores unstructured v1 compatibility information
type ManifestHistory struct {
// History stores unstructured v1 compatibility information
type History struct {
// V1Compatibility is the raw v1 compatibility information
V1Compatibility string `json:"v1Compatibility"`
}