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:
committed by
Jessica Frazelle
parent
7c69a280eb
commit
2ff1cc83fb
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user