1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #707 from unclejack/411-add-arch-field

411 add architecture field
This commit is contained in:
Guillaume J. Charmes 2013-05-31 17:26:11 -07:00
commit a373c770b6
2 changed files with 2 additions and 0 deletions

View file

@ -107,6 +107,7 @@ func (graph *Graph) Create(layerData Archive, container *Container, comment, aut
DockerVersion: VERSION,
Author: author,
Config: config,
Architecture: "x86_64",
}
if container != nil {
img.Parent = container.Image

View file

@ -27,6 +27,7 @@ type Image struct {
DockerVersion string `json:"docker_version,omitempty"`
Author string `json:"author,omitempty"`
Config *Config `json:"config,omitempty"`
Architecture string `json:"architecture,omitempty"`
graph *Graph
}