Files
cli/components/engine/daemon
Aaron Lehmann a68666e468 api: Hide UpdateStatus when it is not present
When UpdateStatus was not present, the empty values of the timestamps
would be present:

        "UpdateStatus": {
            "StartedAt": "0001-01-01T00:00:00Z",
            "CompletedAt": "0001-01-01T00:00:00Z"
        }

To fix this, make the timestamps pointers, so they can be set to nil
when they should not be shown.

Also make UpdateStatus itself a pointer, so an empty object does not
show up when there is no UpdateStatus.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: 0e70d96a6813704498a3ce9cc2786648c84daa3a
Component: engine
2016-12-01 15:08:41 -08:00
..
…
2016-11-14 15:15:09 -05:00
…
…
…
2016-11-22 12:49:38 +00:00
2016-11-22 12:49:38 +00:00
2016-11-16 13:38:45 -08:00
2016-11-22 12:49:38 +00:00
2016-11-17 13:10:48 -05:00
2016-11-22 12:49:38 +00:00
…
…
2016-11-22 12:49:38 +00:00
…
2016-11-18 18:32:02 -08:00
…
…
…
…
…
…
2016-11-23 09:28:13 +08:00
2016-11-14 15:15:09 -05:00
…
2016-11-28 16:54:56 -08:00
2016-11-22 14:32:07 -08:00
…
…
…
…
…
2016-11-22 12:49:38 +00:00
…
…
2016-11-21 19:56:01 +08:00
2016-11-22 12:49:38 +00:00
…