Merge pull request #15010 from runcom/14947-fix-inspect-time-RFC3339Nano

Format times in inspect command with a template as RFC3339Nano
This commit is contained in:
David Calavera
2015-07-27 10:08:21 -07:00
4 changed files with 36 additions and 8 deletions
+4 -4
View File
@@ -86,7 +86,7 @@ type ImageInspect struct {
Id string
Parent string
Comment string
Created time.Time
Created string
Container string
ContainerConfig *runconfig.Config
DockerVersion string
@@ -215,14 +215,14 @@ type ContainerState struct {
Pid int
ExitCode int
Error string
StartedAt time.Time
FinishedAt time.Time
StartedAt string
FinishedAt string
}
// GET "/containers/{name:.*}/json"
type ContainerJSONBase struct {
Id string
Created time.Time
Created string
Path string
Args []string
State *ContainerState