mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
all: Replace deprecated ImageInspectWithRaw usage
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
@@ -320,7 +320,7 @@ func (s *DockerAPISuite) TestBuildOnBuildCache(c *testing.T) {
|
||||
// check parentID is correct
|
||||
// Parent is graphdriver-only
|
||||
if !testEnv.UsingSnapshotter() {
|
||||
image, _, err := client.ImageInspectWithRaw(ctx, childID)
|
||||
image, err := client.ImageInspect(ctx, childID)
|
||||
assert.NilError(c, err)
|
||||
|
||||
assert.Check(c, is.Equal(parentID, image.Parent))
|
||||
|
||||
Reference in New Issue
Block a user