Browse code

Remove Checksum field from image.Image struct

The checksum is now being stored in a separate file beside the image
JSON file.

Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)

Josh Hawn authored on 2015/01/31 02:37:50
Showing 2 changed files
... ...
@@ -151,7 +151,6 @@ func (s *TagStore) CmdLookup(job *engine.Job) engine.Status {
151 151
 		out.Set("Os", image.OS)
152 152
 		out.SetInt64("Size", image.Size)
153 153
 		out.SetInt64("VirtualSize", image.GetParentsSize(0)+image.Size)
154
-		out.Set("Checksum", image.Checksum)
155 154
 		if _, err = out.WriteTo(job.Stdout); err != nil {
156 155
 			return job.Error(err)
157 156
 		}
... ...
@@ -31,7 +31,6 @@ type Image struct {
31 31
 	Config          *runconfig.Config `json:"config,omitempty"`
32 32
 	Architecture    string            `json:"architecture,omitempty"`
33 33
 	OS              string            `json:"os,omitempty"`
34
-	Checksum        string            `json:"checksum"`
35 34
 	Size            int64
36 35
 
37 36
 	graph Graph