fixes #7802, when api version 1.11 is json.Marshaling the container struct

Signed-off-by: Jessica Frazelle <jfrazelle@users.noreply.github.com>

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jfrazelle@users.noreply.github.com> (github: )
Upstream-commit: f49c3f287b0d26dc705940effa0ec03e1de7bb99
Component: engine
This commit is contained in:
Jessica Frazelle
2014-09-08 09:30:33 -07:00
committed by Jessica Frazelle
parent 7c69a280eb
commit 2ff1cc83fb
3 changed files with 86 additions and 3 deletions
+3 -3
View File
@@ -50,9 +50,9 @@ type StreamConfig struct {
}
type Container struct {
*State
root string // Path to the "home" of the container, including metadata.
basefs string // Path to the graphdriver mountpoint
*State `json:"State"` // Needed for remote api version <= 1.11
root string // Path to the "home" of the container, including metadata.
basefs string // Path to the graphdriver mountpoint
ID string