Yong Tang
5112890bb5
Add .CreatedAt placeholder for docker network ls --format
...
This fix tries to add a placeholder `.CreatedAt` for Go
format template in `docker network ls --format`.
While working on 29226, I noticed that it is not possible to
display network's creation time in `docker network ls`, with or
without `--format`.
We are able to find the timestamp through `docker network inspect` though.
However, as we allows networks to be pruned based on the timestamp
(see 29226), showing the timestamp in `docker network ls --format`
would be much useful now.
This fix adds the `.CreatedAt` placeholder for `docker network ls --format`.
The default output was not changed for `docker network ls --format`.
A test case for unit tests has been added.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
Upstream-commit: 0ad02c610880f7ccb96be418baa8667e41aba7a5
Component: engine
2017-01-04 15:18:44 -08:00
..
2016-11-03 15:48:30 -07:00
2016-12-20 17:43:26 +08:00
2016-12-31 14:17:34 +01:00
2016-12-29 02:00:31 +08:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-26 04:55:28 +00:00
2016-11-22 19:09:30 +01:00
2016-12-20 17:03:11 -08:00
2017-01-04 13:46:19 +01:00
2017-01-03 16:03:48 -08:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-17 15:34:17 +01:00
2016-11-03 15:48:30 -07:00
2017-01-03 22:34:32 +08:00
2016-11-23 17:20:12 +01:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-12-07 10:14:28 -08:00
2016-11-03 15:48:30 -07:00
2016-12-04 12:55:00 +00:00
2016-11-03 15:48:30 -07:00
2016-11-23 20:20:37 +00:00
2016-12-14 08:39:10 -08:00
2016-11-03 15:48:30 -07:00
2016-11-09 13:58:04 -08:00
2017-01-04 15:18:44 -08:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-12-16 22:21:52 +08:00
2016-12-16 22:21:52 +08:00
2016-12-16 22:21:52 +08:00
2016-12-16 22:21:52 +08:00
2016-12-18 06:47:54 -08:00
2016-12-16 22:21:52 +08:00
2016-12-16 22:21:52 +08:00
2016-12-16 17:27:28 +08:00
2016-12-30 08:47:08 +08:00
2017-01-03 16:03:48 -08:00
2017-01-03 16:03:48 -08:00
2017-01-03 16:03:48 -08:00
2017-01-03 16:03:48 -08:00
2017-01-03 16:03:48 -08:00
2016-12-27 02:17:35 +08:00
2017-01-03 16:03:48 -08:00
2017-01-03 16:03:48 -08:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-22 21:59:10 +00:00
2016-11-22 21:59:10 +00:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2017-01-04 09:14:10 -08:00
2016-11-03 15:48:30 -07:00
2016-11-28 10:31:38 -08:00
2017-01-03 23:13:31 -08:00
2016-11-22 18:18:56 -05:00
2016-12-20 22:08:07 +08:00
2016-11-09 14:27:45 -05:00
2016-12-19 19:35:05 -08:00
2016-12-15 17:43:51 +08:00
2016-12-15 17:43:51 +08:00
2016-12-15 17:43:51 +08:00
2016-12-22 11:33:47 -08:00
2016-12-15 17:43:51 +08:00
2016-12-15 17:43:51 +08:00
2016-12-19 19:35:05 -08:00
2017-01-04 01:39:45 +08:00
2016-12-13 18:06:18 +08:00
2017-01-04 01:39:45 +08:00
2016-12-13 18:06:18 +08:00
2016-12-13 18:06:18 +08:00
2016-11-03 15:48:30 -07:00
2016-11-16 15:26:29 +01:00
2016-11-03 15:48:30 -07:00
2016-12-20 18:09:21 +08:00
2016-12-20 18:09:21 +08:00
2016-12-20 18:09:21 +08:00
2016-12-20 18:09:21 +08:00
2016-12-20 18:09:21 +08:00
2016-12-20 18:09:21 +08:00
2016-12-20 18:09:21 +08:00
2016-11-03 15:48:30 -07:00
2016-11-10 20:51:44 +01:00
2016-11-18 10:34:02 +02:00
2016-11-03 15:48:30 -07:00
2016-12-16 17:27:28 +08:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00
2016-11-03 15:48:30 -07:00