mirror of https://github.com/docker/docs.git
Merge pull request #12191 from kostickm/12189-fix-json-tags
Fixing JSON Tags
This commit is contained in:
commit
776b7e8559
|
@ -79,13 +79,13 @@ type Port struct {
|
||||||
|
|
||||||
type Container struct {
|
type Container struct {
|
||||||
ID string `json:"Id"`
|
ID string `json:"Id"`
|
||||||
Names []string `json:,omitempty"`
|
Names []string `json:",omitempty"`
|
||||||
Image string `json:,omitempty"`
|
Image string `json:",omitempty"`
|
||||||
Command string `json:,omitempty"`
|
Command string `json:",omitempty"`
|
||||||
Created int `json:,omitempty"`
|
Created int `json:",omitempty"`
|
||||||
Ports []Port `json:,omitempty"`
|
Ports []Port `json:",omitempty"`
|
||||||
SizeRw int `json:,omitempty"`
|
SizeRw int `json:",omitempty"`
|
||||||
SizeRootFs int `json:,omitempty"`
|
SizeRootFs int `json:",omitempty"`
|
||||||
Labels map[string]string `json:,omitempty"`
|
Labels map[string]string `json:",omitempty"`
|
||||||
Status string `json:,omitempty"`
|
Status string `json:",omitempty"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue