diff options
author | Alexander Morozov <lk4d4math@gmail.com> | 2017-01-26 10:35:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-26 10:35:34 -0800 |
commit | a69c4129e086e4e7b86cce7d2682685dfdc6f2d2 (patch) | |
tree | 14061b3c14ed020465ed7757bc8bf219db7389e5 /integration-cli/docker_api_images_test.go | |
parent | 5497f4758d14f6f65c722838d342f634e353b08e (diff) | |
parent | 17f9f5abf4cdf72ce6b5f8f2f69e5a872c6a3b56 (diff) | |
download | docker-a69c4129e086e4e7b86cce7d2682685dfdc6f2d2.tar.gz |
Merge pull request #28409 from dnephin/swagger-gen-more
Generate more types from the swagger spec
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 345ec77695..6f911491bf 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/docker/docker/integration-cli/request" "github.com/go-check/check" @@ -106,7 +107,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")) |