1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/graph
Antonio Murdaca c9207bc0aa Format times in inspect command with a template as RFC3339Nano
In 1.6.2 we were decoding inspect API response into interface{}.
time.Time fields were JSON encoded as RFC3339Nano in the response
and when decoded into interface{} they were just strings so the inspect
template treated them as just strings.
From 1.7 we are decoding into types.ContainerJSON and when the template
gets executed it now gets a time.Time and it's formatted as
2015-07-22 05:02:38.091530369 +0000 UTC.
This patch brings back the old behavior by typing time.Time fields
as string so they gets formatted as they were encoded in JSON -- RCF3339Nano

Signed-off-by: Antonio Murdaca <runcom@linux.com>
2015-07-26 15:25:08 +02:00
..
tags Check if a tag name to load is a valid digest. 2015-07-16 10:53:56 -07:00
export.go Windows: graph\export.go filepath fixes 2015-05-04 14:56:23 -07:00
graph.go graph: isolate the (dis)assembly logic 2015-07-22 11:36:15 -04:00
graph_test.go Fixing Image struct to no longer use Graph. 2015-07-20 13:59:53 -07:00
graph_unix.go graph: isolate the (dis)assembly logic 2015-07-22 11:36:15 -04:00
graph_windows.go graph: isolate the (dis)assembly logic 2015-07-22 11:36:15 -04:00
history.go Fixing Image struct to no longer use Graph. 2015-07-20 13:59:53 -07:00
import.go Refactor pkg/stremformatter with custom constructors instead of passing a boolean 2015-05-13 00:09:41 +02:00
list.go Fixing Image struct to no longer use Graph. 2015-07-20 13:59:53 -07:00
load.go Fixing Image struct to no longer use Graph. 2015-07-20 13:59:53 -07:00
load_unsupported.go Windows: Build load.go 2015-05-12 14:26:57 -07:00
mutex.go Attempt to protect on disk image store with mutex 2015-06-25 20:16:37 -07:00
pools_test.go don't call reexec.Init from chrootarchive 2014-11-25 01:03:40 +02:00
pull.go Update graph to use vendored distribution client for the v2 codepath 2015-07-16 13:13:47 -04:00
pull_v1.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
pull_v2.go Use notary library for trusted image fetch and signing 2015-07-24 14:08:20 -07:00
push.go Avoid redundant HEAD requests for identical layers on push 2015-07-22 17:54:20 -07:00
push_v1.go Improve documentation and golint compliance of registry package 2015-07-24 11:55:07 -07:00
push_v2.go Use notary library for trusted image fetch and signing 2015-07-24 14:08:20 -07:00
registry.go Use notary library for trusted image fetch and signing 2015-07-24 14:08:20 -07:00
service.go Format times in inspect command with a template as RFC3339Nano 2015-07-26 15:25:08 +02:00
tags.go Fixing Image struct to no longer use Graph. 2015-07-20 13:59:53 -07:00
tags_unit_test.go Fixing Image struct to no longer use Graph. 2015-07-20 13:59:53 -07:00