Files
docker-cli/components/cli/command/service
Aaron Lehmann 93e292438c 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: 8a379d7bce
Component: cli
2016-12-01 15:08:41 -08:00
..
2016-11-17 10:54:10 -08:00
2016-10-18 19:40:16 +08:00
2016-11-10 13:46:02 -08:00
2016-11-09 14:27:45 -05:00
2016-11-06 07:40:39 -05:00
2016-09-08 15:46:29 -04:00