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
export.go
graph.go graph: isolate the (dis)assembly logic 2015-07-22 11:36:15 -04:00
graph_test.go
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
import.go
list.go
load.go
load_unsupported.go
mutex.go
pools_test.go
pull.go
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
tags_unit_test.go