Revert "Fix inconsistent date formats in API"

This reverts commit 945fc9d882.

Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
Victor Vieux
2015-05-14 17:31:45 -07:00
parent e4855eebf2
commit b261ce5fb0
10 changed files with 22 additions and 135 deletions
+3 -3
View File
@@ -50,7 +50,7 @@ type ContainerChange struct {
// GET "/images/{name:.*}/history"
type ImageHistory struct {
ID string `json:"Id"`
Created time.Time
Created int64
CreatedBy string
Tags []string
Size int64
@@ -69,7 +69,7 @@ type Image struct {
ParentId string
RepoTags []string
RepoDigests []string
Created time.Time
Created int
Size int
VirtualSize int
Labels map[string]string
@@ -105,7 +105,7 @@ type Container struct {
Names []string `json:",omitempty"`
Image string `json:",omitempty"`
Command string `json:",omitempty"`
Created time.Time `json:",omitempty"`
Created int `json:",omitempty"`
Ports []Port `json:",omitempty"`
SizeRw int `json:",omitempty"`
SizeRootFs int `json:",omitempty"`