From 3414307306dc1780f80c5ca5e9dd7a8822e27eec Mon Sep 17 00:00:00 2001 From: Josh Hawn Date: Fri, 30 Jan 2015 09:37:50 -0800 Subject: [PATCH] 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 (github: jlhawn) --- graph/service.go | 1 - image/image.go | 1 - 2 files changed, 2 deletions(-) diff --git a/graph/service.go b/graph/service.go index 675e12a1a..354c57eaf 100644 --- a/graph/service.go +++ b/graph/service.go @@ -151,7 +151,6 @@ func (s *TagStore) CmdLookup(job *engine.Job) engine.Status { out.Set("Os", image.OS) out.SetInt64("Size", image.Size) out.SetInt64("VirtualSize", image.GetParentsSize(0)+image.Size) - out.Set("Checksum", image.Checksum) if _, err = out.WriteTo(job.Stdout); err != nil { return job.Error(err) } diff --git a/image/image.go b/image/image.go index 01300069f..27554d972 100644 --- a/image/image.go +++ b/image/image.go @@ -31,7 +31,6 @@ type Image struct { Config *runconfig.Config `json:"config,omitempty"` Architecture string `json:"architecture,omitempty"` OS string `json:"os,omitempty"` - Checksum string `json:"checksum"` Size int64 graph Graph