Merge pull request #7976 from duglin/Issue7902

Fix for issue 7902 - add trailing zeros to timestamps so logs align
Upstream-commit: 51b26853ef2f124ea837364c02585cbf96999d6a
Component: engine
This commit is contained in:
Jessie Frazelle
2014-09-16 13:55:03 -07:00
6 changed files with 20 additions and 7 deletions
+1 -1
View File
@@ -1650,7 +1650,7 @@ func (cli *DockerCli) CmdEvents(args ...string) error {
loc = time.FixedZone(time.Now().Zone())
)
var setTime = func(key, value string) {
format := time.RFC3339Nano
format := utils.RFC3339NanoFixed
if len(value) < len(format) {
format = format[:len(value)]
}