diff options
author | Daniel Nephin <dnephin@docker.com> | 2016-11-09 16:32:53 -0500 |
---|---|---|
committer | Daniel Nephin <dnephin@docker.com> | 2017-01-03 11:47:44 -0500 |
commit | b462c93edb44790ca309e3721950cb23be5d7d62 (patch) | |
tree | 7978736f5ddd876af3edcc67c50cec353d5a612b /integration-cli/docker_api_images_test.go | |
parent | b83d9bf6a9d92731573631ebd077a00e3f60c0cd (diff) | |
download | docker-b462c93edb44790ca309e3721950cb23be5d7d62.tar.gz |
Generate ImageHistory from swagger spec.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Diffstat (limited to 'integration-cli/docker_api_images_test.go')
-rw-r--r-- | integration-cli/docker_api_images_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/integration-cli/docker_api_images_test.go b/integration-cli/docker_api_images_test.go index 6b24a39122..a8de4725b3 100644 --- a/integration-cli/docker_api_images_test.go +++ b/integration-cli/docker_api_images_test.go @@ -7,6 +7,7 @@ import ( "strings" "github.com/docker/docker/api/types" + "github.com/docker/docker/api/types/image" "github.com/docker/docker/integration-cli/checker" "github.com/go-check/check" ) @@ -109,7 +110,7 @@ func (s *DockerSuite) TestAPIImagesHistory(c *check.C) { c.Assert(err, checker.IsNil) c.Assert(status, checker.Equals, http.StatusOK) - var historydata []types.ImageHistory + var historydata []image.HistoryResponseItem err = json.Unmarshal(body, &historydata) c.Assert(err, checker.IsNil, check.Commentf("Error on unmarshal")) |